|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XLongIterator
This interface represents an iterator for primitive long
values. Its semantics are the same as those for Iterator
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
long |
next()
Returns the next element in the iteration. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
XLongIterator |
toFirst()
Resets the iterator to the beginning. |
| Method Detail |
|---|
boolean hasNext()
long 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.XLongIterator 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 | ||||||||