private final class ShortObjectHashMap.PrimitiveIterator extends java.lang.Object implements java.util.Iterator<ShortObjectMap.PrimitiveEntry<V>>, ShortObjectMap.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() |
short |
key()
Gets the key for this entry.
|
ShortObjectMap.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<ShortObjectMap.PrimitiveEntry<V>>public ShortObjectMap.PrimitiveEntry<V> next()
next in interface java.util.Iterator<ShortObjectMap.PrimitiveEntry<V>>public void remove()
remove in interface java.util.Iterator<ShortObjectMap.PrimitiveEntry<V>>public short key()
ShortObjectMap.PrimitiveEntrykey in interface ShortObjectMap.PrimitiveEntry<V>public V value()
ShortObjectMap.PrimitiveEntryvalue in interface ShortObjectMap.PrimitiveEntry<V>public void setValue(V value)
ShortObjectMap.PrimitiveEntrysetValue in interface ShortObjectMap.PrimitiveEntry<V>