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