|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.toronto.cs.util.IntIterator.RangeIterator
public static class IntIterator.RangeIterator
Iterates over a range
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.toronto.cs.util.IntIterator |
---|
IntIterator.RangeIterator |
Field Summary |
---|
Fields inherited from interface edu.toronto.cs.util.IntIterator |
---|
EMPTY_INT_ITERATOR |
Constructor Summary | |
---|---|
IntIterator.RangeIterator(int _start,
int _stop)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
int |
nextInt()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntIterator.RangeIterator(int _start, int _stop)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface IntIterator
public int nextInt()
nextInt
in interface IntIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |