public interface CharKeyMapIterator
com.uwyn.rife.pcj.map.CharKeyMap
,
com.uwyn.rife.pcj.CharIterator
Modifier and Type | Method | Description |
---|---|---|
char |
getKey() |
Returns the key of the current entry of this iterator.
|
Object |
getValue() |
Returns the value of the current entry of this iterator.
|
boolean |
hasNext() |
Indicates whether more entries can be returned by this
iterator.
|
void |
next() |
Advances to the next entry of this iterator.
|
void |
remove() |
Removes the last entry value returned from the underlying
map.
|
boolean hasNext()
next()
void next()
NoSuchElementException
- if no more entries are available from this
iterator.hasNext()
void remove()
UnsupportedOperationException
- if removal is not supported by this iterator.IllegalStateException
- if no entry has been returned by this iterator
yet.char getKey()
IllegalStateException
- if there is no current entry (i.e. if
next()
has not been called or
remove()
has just been called.getValue()
Object getValue()
IllegalStateException
- if there is no current entry (i.e. if
next()
has not been called or
remove()
has just been called.getKey()
Copyright © 2011–2019. All rights reserved.