Class EnumLongMap.ValueIterator
java.lang.Object
com.github.tommyettinger.ds.EnumLongMap.MapIterator
com.github.tommyettinger.ds.EnumLongMap.ValueIterator
- All Implemented Interfaces:
LongIterator, Iterator<Long>
- Enclosing class:
EnumLongMap
public static class EnumLongMap.ValueIterator
extends EnumLongMap.MapIterator
implements LongIterator
-
Field Summary
Fields inherited from class EnumLongMap.MapIterator
currentIndex, hasNext, map, nextIndex -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class EnumLongMap.MapIterator
findNextIndex, remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, removeMethods inherited from interface LongIterator
forEachRemaining, next
-
Constructor Details
-
ValueIterator
-
-
Method Details
-
nextLong
public long nextLong()Returns the nextlongelement in the iteration.- Specified by:
nextLongin interfaceLongIterator- Returns:
- the next
longelement in the iteration - Throws:
NoSuchElementException- if the iteration has no more elements
-
hasNext
-