Class AbstractIterator<E>
java.lang.Object
com.carrotsearch.hppc.AbstractIterator<E>
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
ByteHashSet.EntryIterator, CharHashSet.EntryIterator, DoubleHashSet.EntryIterator, FloatHashSet.EntryIterator, IntHashSet.EntryIterator, LongHashSet.EntryIterator, ObjectHashSet.EntryIterator, ShortHashSet.EntryIterator
-
Constructor Details
-
AbstractIterator
public AbstractIterator()
-
-
Method Details
-
hasNext
-
next
-
remove
public void remove()Default implementation throwsUnsupportedOperationException. -
fetch
-
done
Call when done.- Returns:
- Returns a unique sentinel value to indicate end-of-iteration.
-