Package com.github.tommyettinger.ds
Class LongLongMap.MapIterator
java.lang.Object
com.github.tommyettinger.ds.LongLongMap.MapIterator
- Direct Known Subclasses:
LongLongMap.EntryIterator,LongLongMap.KeyIterator,LongLongMap.ValueIterator
- Enclosing class:
- LongLongMap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intbooleanprotected static final intprotected static final intprotected final LongLongMapprotected intprotected boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INDEX_ILLEGAL
protected static final int INDEX_ILLEGAL- See Also:
-
INDEX_ZERO
protected static final int INDEX_ZERO- See Also:
-
hasNext
public boolean hasNext -
map
-
nextIndex
protected int nextIndex -
currentIndex
protected int currentIndex -
valid
protected boolean valid
-
-
Constructor Details
-
MapIterator
-
-
Method Details
-
reset
public void reset() -
hasNext
public boolean hasNext()Returnstrueif the iteration has more elements. (In other words, returnstrueif next() would return an element rather than throwing an exception.)- Returns:
trueif the iteration has more elements
-
remove
public void remove()
-