Class LongObjectMap.EntryIterator<V>
java.lang.Object
com.github.tommyettinger.ds.LongObjectMap.MapIterator<V>
com.github.tommyettinger.ds.LongObjectMap.EntryIterator<V>
- All Implemented Interfaces:
Iterable<LongObjectMap.Entry<V>>, Iterator<LongObjectMap.Entry<V>>
- Enclosing class:
LongObjectMap<V>
public static class LongObjectMap.EntryIterator<V>
extends LongObjectMap.MapIterator<V>
implements Iterable<LongObjectMap.Entry<V>>, Iterator<LongObjectMap.Entry<V>>
-
Field Summary
Fields inherited from class LongObjectMap.MapIterator
currentIndex, hasNext, INDEX_ILLEGAL, INDEX_ZERO, map, nextIndex -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LongObjectMap.MapIterator
remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Iterator
forEachRemaining, remove
-
Constructor Details
-
EntryIterator
-
-
Method Details
-
iterator
-
next
Note the same entry instance is returned each time this method is called. -
hasNext
public boolean hasNext()Description copied from class:LongObjectMap.MapIteratorReturnstrueif the iteration has more elements. (In other words, returnstrueif next() would return an element rather than throwing an exception.)
-