public final class Long2LongHashMap.ValueIterator extends Object implements Iterator<Long>, Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositionValid
Is current position valid.
|
Constructor and Description |
---|
ValueIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
findNext()
Advance to the next entry.
|
boolean |
hasNext()
Check if there are more elements remaining.
|
protected int |
keyPosition()
Returns position of the key of the current entry.
|
Long |
next() |
long |
nextValue()
Return next value.
|
int |
remaining()
Number of remaining elements.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, remove
public long nextValue()
protected final int keyPosition()
public int remaining()
public boolean hasNext()
true
if remaining > 0
.protected final void findNext()
NoSuchElementException
- if no more entries available.public void remove()
Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.