Package com.yahoo.language.simple.kstem
Class CharArrayMap.EntryIterator
java.lang.Object
com.yahoo.language.simple.kstem.CharArrayMap.EntryIterator
- Enclosing class:
- CharArrayMap<V>
public iterator class so efficient methods are exposed to users
-
Method Summary
Modifier and TypeMethodDescriptionreturns the value associated with the last key returnedboolean
hasNext()
next()
use nextCharArray() + currentValue() for better efficiency.char[]
nextKey()
gets the next key...gets the next key as a newly created String objectvoid
remove()
sets the value associated with the last key returnedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
hasNext
public boolean hasNext() -
nextKey
public char[] nextKey()gets the next key... do not modify the returned char[] -
nextKeyString
gets the next key as a newly created String object -
currentValue
returns the value associated with the last key returned -
setValue
sets the value associated with the last key returned -
next
use nextCharArray() + currentValue() for better efficiency. -
remove
public void remove()
-