private final class IntObjectHashMap.IteratorImpl extends java.lang.Object implements java.util.Iterator<IntObjectMap.Entry<V>>, IntObjectMap.Entry<V>
Modifier and Type | Field and Description |
---|---|
private int |
entryIndex |
private int |
nextIndex |
private int |
prevIndex |
Modifier | Constructor and Description |
---|---|
private |
IteratorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
int |
key()
Gets the key for this entry.
|
IntObjectMap.Entry<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<IntObjectMap.Entry<V>>
public IntObjectMap.Entry<V> next()
next
in interface java.util.Iterator<IntObjectMap.Entry<V>>
public void remove()
remove
in interface java.util.Iterator<IntObjectMap.Entry<V>>
public int key()
IntObjectMap.Entry
key
in interface IntObjectMap.Entry<V>
public V value()
IntObjectMap.Entry
value
in interface IntObjectMap.Entry<V>
public void setValue(V value)
IntObjectMap.Entry
setValue
in interface IntObjectMap.Entry<V>