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