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

Method next

src/jvm/clojure/lang/PersistentQueue.java:260–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 }
259
260 public Object next(){
261 if(fseq != null)
262 {
263 Object ret = fseq.first();
264 fseq = fseq.next();
265 return ret;
266 }
267 else if(riter != null && riter.hasNext())
268 return riter.next();
269 else
270 throw new NoSuchElementException();
271 }
272
273 public void remove(){
274 throw new UnsupportedOperationException();

Callers

nothing calls this directly

Calls 3

firstMethod · 0.65
nextMethod · 0.65
hasNextMethod · 0.45

Tested by

no test coverage detected