Class LongOrderedSet.LongOrderedSetIterator
java.lang.Object
com.github.tommyettinger.ds.LongSet.LongSetIterator
com.github.tommyettinger.ds.LongOrderedSet.LongOrderedSetIterator
- All Implemented Interfaces:
LongIterator, Iterator<Long>
- Enclosing class:
LongOrderedSet
-
Field Summary
Fields inherited from class LongSet.LongSetIterator
currentIndex, hasNext, nextIndex, set -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LongSet.LongSetIterator
appendInto, findNextIndex, hasNext, toListMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemainingMethods inherited from interface LongIterator
forEachRemaining, next
-
Constructor Details
-
LongOrderedSetIterator
-
-
Method Details
-
reset
public void reset()- Overrides:
resetin classLongSet.LongSetIterator
-
nextLong
public long nextLong()Description copied from interface:LongIteratorReturns the nextlongelement in the iteration.- Specified by:
nextLongin interfaceLongIterator- Overrides:
nextLongin classLongSet.LongSetIterator- Returns:
- the next
longelement in the iteration
-
remove
public void remove()- Specified by:
removein interfaceIterator<Long>- Overrides:
removein classLongSet.LongSetIterator
-