Package com.github.tommyettinger.ds
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 com.github.tommyettinger.ds.LongSet.LongSetIterator
currentIndex, hasNext, nextIndex, set, valid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.tommyettinger.ds.LongSet.LongSetIterator
appendInto, findNextIndex, hasNext, toListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface com.github.tommyettinger.ds.support.util.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
-