Class EnumFloatMap.ValueIterator
java.lang.Object
com.github.tommyettinger.ds.EnumFloatMap.MapIterator
com.github.tommyettinger.ds.EnumFloatMap.ValueIterator
- All Implemented Interfaces:
FloatIterator, Iterator<Float>
- Enclosing class:
EnumFloatMap
public static class EnumFloatMap.ValueIterator
extends EnumFloatMap.MapIterator
implements FloatIterator
-
Field Summary
Fields inherited from class EnumFloatMap.MapIterator
currentIndex, hasNext, map, nextIndex -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EnumFloatMap.MapIterator
findNextIndex, remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FloatIterator
forEachRemaining, nextMethods inherited from interface Iterator
forEachRemaining, remove
-
Constructor Details
-
ValueIterator
-
-
Method Details
-
nextFloat
public float nextFloat()Returns the nextfloatelement in the iteration.- Specified by:
nextFloatin interfaceFloatIterator- Returns:
- the next
floatelement in the iteration - Throws:
NoSuchElementException- if the iteration has no more elements
-
hasNext
-