public static < V > Cursor < V , V > slice ( Object [ ] btree , boolean forwards ) { Cursor < V , V > r = new Cursor <> ( ) ; r . reset ( btree , forwards ) ; return r ; }
Returns an Iterator over the entire tree