dsto.dfc.collections
Class NumberIterator
java.lang.Object
dsto.dfc.collections.NumberIterator
- All Implemented Interfaces:
- Iterator
public class NumberIterator
- extends Object
- implements Iterator
Iterator that scans though a range of numbers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberIterator
public NumberIterator(int lower,
int upper)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public Object next()
- Specified by:
next in interface Iterator
remove
public void remove()
- Specified by:
remove in interface Iterator
Copyright © 2008 Commonwealth of Australia