MCPcopy Index your code
hub / github.com/apache/groovy / next

Method next

src/main/java/groovy/lang/ObjectRange.java:494–503  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

492 * {@inheritDoc}
493 */
494 @Override
495 public Comparable next() {
496 // not thread safe
497 if (!hasNext()) {
498 throw new NoSuchElementException();
499 }
500 nextFetched = false;
501 index++;
502 return value;
503 }
504
505 /**
506 * {@inheritDoc}

Callers 5

getMethod · 0.95
sizeMethod · 0.95
subListMethod · 0.95
containsMethod · 0.95
stepMethod · 0.95

Calls 1

hasNextMethod · 0.95

Tested by

no test coverage detected