public final class Object2ObjectHashMap.EntryIterator extends Object implements Iterator<Map.Entry<K,V>>, Map.Entry<K,V>, Serializable
Modifier and Type | Class and Description |
---|---|
class |
Object2ObjectHashMap.EntryIterator.MapEntry
An
Map.Entry implementation. |
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositionValid
Is position valid.
|
Constructor and Description |
---|
EntryIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
protected void |
findNext()
Find next element.
|
K |
getKey() |
V |
getValue() |
int |
hashCode() |
boolean |
hasNext()
Check if there is next element to iterate.
|
Map.Entry<K,V> |
next() |
int |
remaining()
Return number of remaining elements.
|
void |
remove() |
V |
setValue(V value) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, remove
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public int hashCode()
public boolean equals(Object o)
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.