|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntKeyMapIterator<V>
This interface represents iterators over maps from int values to objects.
IntKeyMap
,
IntIterator
Method Summary | |
---|---|
int |
getKey()
Returns the key of the current entry of this iterator. |
V |
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. |
Method Detail |
---|
boolean hasNext()
next()
void next()
java.util.NoSuchElementException
- if no more entries are available from this
iterator.hasNext()
void remove()
java.lang.UnsupportedOperationException
- if removal is not supported by this iterator.
java.lang.IllegalStateException
- if no entry has been returned by this iterator
yet.int getKey()
java.lang.IllegalStateException
- if there is no current entry (i.e. if
next()
has not been called or
remove()
has just been called.getValue()
V getValue()
java.lang.IllegalStateException
- if there is no current entry (i.e. if
next()
has not been called or
remove()
has just been called.getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |