Package com.github.tommyettinger.ds
Class HolderSet.HolderSetIterator<T,K>
java.lang.Object
com.github.tommyettinger.ds.HolderSet.HolderSetIterator<T,K>
- Direct Known Subclasses:
HolderOrderedSet.HolderOrderedSetIterator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
hasNext
public boolean hasNext -
set
-
nextIndex
protected int nextIndex -
currentIndex
protected int currentIndex -
valid
protected boolean valid
-
-
Constructor Details
-
HolderSetIterator
-
-
Method Details
-
reset
public void reset() -
remove
public void remove() -
hasNext
public boolean hasNext() -
next
-
iterator
-
toList
Returns a newObjectListcontaining the remaining items. Does not change the position of this iterator.
-