Package com.github.tommyettinger.ds
Class ObjectFloatMap.ValueIterator<K>
java.lang.Object
com.github.tommyettinger.ds.ObjectFloatMap.MapIterator<K>
com.github.tommyettinger.ds.ObjectFloatMap.ValueIterator<K>
- All Implemented Interfaces:
FloatIterator,Iterator<Float>
- Enclosing class:
- ObjectFloatMap<K>
public static class ObjectFloatMap.ValueIterator<K>
extends ObjectFloatMap.MapIterator<K>
implements FloatIterator
-
Field Summary
Fields inherited from class com.github.tommyettinger.ds.ObjectFloatMap.MapIterator
currentIndex, hasNext, map, nextIndex, valid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.tommyettinger.ds.ObjectFloatMap.MapIterator
remove, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tommyettinger.ds.support.util.FloatIterator
forEachRemaining, nextMethods inherited from interface java.util.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
public boolean hasNext()
-