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