MCPcopy Index your code
hub / github.com/clojure/clojure / next

Method next

src/jvm/clojure/lang/PersistentTreeMap.java:836–844  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

834 }
835
836 public ISeq next(){
837 Node t = (Node) stack.first();
838 ISeq nextstack = push(asc ? t.right() : t.left(), stack.next(), asc);
839 if(nextstack != null)
840 {
841 return new Seq(nextstack, asc, cnt - 1);
842 }
843 return null;
844 }
845
846 public int count(){
847 if(cnt < 0)

Callers

nothing calls this directly

Calls 5

pushMethod · 0.95
rightMethod · 0.95
leftMethod · 0.95
firstMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected