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

Method next

src/jvm/clojure/lang/Range.java:204–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 }
203
204 public Object next() {
205 if (hasNext()) {
206 Object ret = next;
207 next = Numbers.addP(next, step);
208 return ret;
209 } else {
210 throw new NoSuchElementException();
211 }
212 }
213
214 public void remove() {
215 throw new UnsupportedOperationException();

Callers

nothing calls this directly

Calls 2

hasNextMethod · 0.95
addPMethod · 0.95

Tested by

no test coverage detected