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