Package com.github.tommyettinger.ds
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 com.github.tommyettinger.ds.EnumLongMap.MapIterator
currentIndex, hasNext, map, nextIndex, valid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.tommyettinger.ds.EnumLongMap.MapIterator
findNextIndex, remove, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, removeMethods inherited from interface com.github.tommyettinger.ds.support.util.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
public boolean hasNext()
-