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

Method tryAdvance

src/jvm/clojure/lang/PersistentVector.java:348–359  ·  view source on GitHub ↗
(Consumer action)

Source from the content-addressed store, hash-verified

346 }
347
348 @Override
349 public boolean tryAdvance(Consumer action) {
350 if(i < end) {
351 if(i-base == 32){
352 array = arrayFor(i);
353 base += 32;
354 }
355 action.accept(array[i++ & 0x01f]);
356 return true;
357 }
358 return false;
359 }
360
361 @Override
362 public Spliterator trySplit() {

Callers

nothing calls this directly

Calls 2

arrayForMethod · 0.95
acceptMethod · 0.45

Tested by

no test coverage detected