Package com.github.tommyettinger.ds
Class IntLongMap.MapIterator
java.lang.Object
com.github.tommyettinger.ds.IntLongMap.MapIterator
- Direct Known Subclasses:
IntLongMap.EntryIterator,IntLongMap.KeyIterator,IntLongMap.ValueIterator
- Enclosing class:
- IntLongMap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intbooleanprotected static final intprotected static final intprotected final IntLongMapprotected 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()
-