|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XBooleanIterator
This interface represents an Iterator for primitive boolean
values. Its semantics are the same as those for Iterator
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
boolean |
next()
Returns the next element in the iteration. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
XBooleanIterator |
toFirst()
Resets the iterator to the beginning. |
Method Detail |
---|
boolean hasNext()
boolean next()
NoSuchElementException
- iteration has no more elements.void remove()
UnsupportedOperationException
- if the remove
operation is not supported by this Iterator.
IllegalStateException
- if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.XBooleanIterator toFirst()
UnsupportedOperationException
- if the toFirst
operation is not supported by this iterator.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |