private final class LongObjectHashMap.PrimitiveIterator extends java.lang.Object implements java.util.Iterator<LongObjectMap.PrimitiveEntry<V>>, LongObjectMap.PrimitiveEntry<V>
next()
.Modifier and Type | Field and Description |
---|---|
private int |
entryIndex |
private int |
nextIndex |
private int |
prevIndex |
Modifier | Constructor and Description |
---|---|
private |
PrimitiveIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
long |
key()
Gets the key for this entry.
|
LongObjectMap.PrimitiveEntry<V> |
next() |
void |
remove() |
private void |
scanNext() |
void |
setValue(V value)
Sets the value for this entry.
|
V |
value()
Gets the value for this entry.
|
private int prevIndex
private int nextIndex
private int entryIndex
private void scanNext()
public boolean hasNext()
hasNext
in interface java.util.Iterator<LongObjectMap.PrimitiveEntry<V>>
public LongObjectMap.PrimitiveEntry<V> next()
next
in interface java.util.Iterator<LongObjectMap.PrimitiveEntry<V>>
public void remove()
remove
in interface java.util.Iterator<LongObjectMap.PrimitiveEntry<V>>
public long key()
LongObjectMap.PrimitiveEntry
key
in interface LongObjectMap.PrimitiveEntry<V>
public V value()
LongObjectMap.PrimitiveEntry
value
in interface LongObjectMap.PrimitiveEntry<V>
public void setValue(V value)
LongObjectMap.PrimitiveEntry
setValue
in interface LongObjectMap.PrimitiveEntry<V>