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