public final class Object2ObjectHashMap.KeyIterator extends Object implements Iterator<K>, Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositionValid
Is position valid.
|
Constructor and Description |
---|
KeyIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
findNext()
Find next element.
|
boolean |
hasNext()
Check if there is next element to iterate.
|
K |
next() |
int |
remaining()
Return number of remaining elements.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, remove
public int remaining()
public boolean hasNext()
true
if remaining > 0
.protected final void findNext()
NoSuchElementException
- if no more elements.public void remove()
Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.