Package com.github.tommyettinger.ds
Class ObjectIntMap.ValueIterator<K>
java.lang.Object
com.github.tommyettinger.ds.ObjectIntMap.MapIterator<K>
com.github.tommyettinger.ds.ObjectIntMap.ValueIterator<K>
- All Implemented Interfaces:
IntIterator,Iterator<Integer>
- Enclosing class:
- ObjectIntMap<K>
public static class ObjectIntMap.ValueIterator<K>
extends ObjectIntMap.MapIterator<K>
implements IntIterator
-
Field Summary
Fields inherited from class com.github.tommyettinger.ds.ObjectIntMap.MapIterator
currentIndex, hasNext, map, nextIndex, valid -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.tommyettinger.ds.ObjectIntMap.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.IntIterator
forEachRemaining, nextMethods inherited from interface java.util.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
public boolean hasNext()
-