Package com.github.tommyettinger.ds
Class IntOrderedSet.IntOrderedSetIterator
java.lang.Object
com.github.tommyettinger.ds.IntSet.IntSetIterator
com.github.tommyettinger.ds.IntOrderedSet.IntOrderedSetIterator
- All Implemented Interfaces:
IntIterator,Iterator<Integer>
- Enclosing class:
- IntOrderedSet
-
Field Summary
Fields inherited from class com.github.tommyettinger.ds.IntSet.IntSetIterator
currentIndex, hasNext, nextIndex, set, valid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.tommyettinger.ds.IntSet.IntSetIterator
appendInto, findNextIndex, hasNext, toListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tommyettinger.ds.support.util.IntIterator
forEachRemaining, nextMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
IntOrderedSetIterator
-
-
Method Details
-
reset
public void reset()- Overrides:
resetin classIntSet.IntSetIterator
-
nextInt
public int nextInt()Description copied from interface:IntIteratorReturns the nextintelement in the iteration.- Specified by:
nextIntin interfaceIntIterator- Overrides:
nextIntin classIntSet.IntSetIterator- Returns:
- the next
intelement in the iteration
-
remove
public void remove()- Specified by:
removein interfaceIterator<Integer>- Overrides:
removein classIntSet.IntSetIterator
-