Class EnumIntMap.ValueIterator
java.lang.Object
com.github.tommyettinger.ds.EnumIntMap.MapIterator
com.github.tommyettinger.ds.EnumIntMap.ValueIterator
- All Implemented Interfaces:
IntIterator, Iterator<Integer>
- Enclosing class:
EnumIntMap
-
Field Summary
Fields inherited from class EnumIntMap.MapIterator
currentIndex, hasNext, map, nextIndex -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EnumIntMap.MapIterator
findNextIndex, remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IntIterator
forEachRemaining, nextMethods inherited from interface Iterator
forEachRemaining, remove
-
Constructor Details
-
ValueIterator
-
-
Method Details
-
nextInt
public int nextInt()Returns the nextintelement in the iteration.- Specified by:
nextIntin interfaceIntIterator- Returns:
- the next
intelement in the iteration - Throws:
NoSuchElementException- if the iteration has no more elements
-
hasNext
-