MCPcopy Create free account
hub / github.com/ReadyTalk/avian / hasNext

Method hasNext

classpath/java/util/HashMap.java:356–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 }
355
356 public boolean hasNext() {
357 if (array != null) {
358 while (nextCell == null && ++ nextIndex < array.length) {
359 if (array[nextIndex] != null) {
360 nextCell = array[nextIndex];
361 return true;
362 }
363 }
364 }
365 return nextCell != null;
366 }
367
368 public void remove() {
369 if (currentCell != null) {

Callers 2

MyIteratorMethod · 0.95
nextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected