|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.analysis.CharArrayMap.EntryIterator
public class CharArrayMap.EntryIterator
public iterator class so efficient methods are exposed to users
Method Summary | |
---|---|
V |
currentValue()
returns the value associated with the last key returned |
boolean |
hasNext()
|
Map.Entry<Object,V> |
next()
use nextCharArray() + currentValue() for better efficiency. |
char[] |
nextKey()
gets the next key... |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<Map.Entry<Object,V>>
public char[] nextKey()
public String nextKeyString()
public V currentValue()
public V setValue(V value)
public Map.Entry<Object,V> next()
next
in interface Iterator<Map.Entry<Object,V>>
public void remove()
remove
in interface Iterator<Map.Entry<Object,V>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |