public class CharArrayMap.EntryIterator
extends java.lang.Object
implements java.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
Modifier and Type | Method and Description |
---|---|
V |
currentValue()
returns the value associated with the last key returned
|
boolean |
hasNext() |
java.util.Map.Entry<java.lang.Object,V> |
next()
use nextCharArray() + currentValue() for better efficiency.
|
char[] |
nextKey()
gets the next key...
|
java.lang.String |
nextKeyString()
gets the next key as a newly created String object
|
void |
remove() |
V |
setValue(V value)
sets the value associated with the last key returned
|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
public char[] nextKey()
public java.lang.String nextKeyString()
public V currentValue()
public java.util.Map.Entry<java.lang.Object,V> next()
next
in interface java.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
public void remove()
remove
in interface java.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.