Package org.apache.lucene.analysis.util
Class CharArrayMap.EntryIterator
- java.lang.Object
 - 
- org.apache.lucene.analysis.util.CharArrayMap.EntryIterator
 
 
- 
- All Implemented Interfaces:
 java.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
- Enclosing class:
 - CharArrayMap<V>
 
public class CharArrayMap.EntryIterator extends java.lang.Object implements java.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>public iterator class so efficient methods are exposed to users 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VcurrentValue()returns the value associated with the last key returnedbooleanhasNext()java.util.Map.Entry<java.lang.Object,V>next()use nextCharArray() + currentValue() for better efficiency.char[]nextKey()gets the next key...java.lang.StringnextKeyString()gets the next key as a newly created String objectvoidremove()VsetValue(V value)sets the value associated with the last key returned 
 - 
 
- 
- 
Method Detail
- 
hasNext
public boolean hasNext()
- Specified by:
 hasNextin interfacejava.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
 
- 
nextKey
public char[] nextKey()
gets the next key... do not modify the returned char[] 
- 
nextKeyString
public java.lang.String nextKeyString()
gets the next key as a newly created String object 
- 
currentValue
public V currentValue()
returns the value associated with the last key returned 
- 
next
public java.util.Map.Entry<java.lang.Object,V> next()
use nextCharArray() + currentValue() for better efficiency.- Specified by:
 nextin interfacejava.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
 
- 
remove
public void remove()
- Specified by:
 removein interfacejava.util.Iterator<java.util.Map.Entry<java.lang.Object,V>>
 
 - 
 
 -