|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.kernel.common.util.disposable.Disposable
choco.kernel.common.util.iterators.DisposableIntIterator
public abstract class DisposableIntIterator
Constructor Summary | |
---|---|
DisposableIntIterator()
|
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
int |
next()
Returns the next element in the iteration. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
Methods inherited from class choco.kernel.common.util.disposable.Disposable |
---|
dispose, init, reusable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisposableIntIterator()
Method Detail |
---|
public 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.public boolean hasNext()
public int next()
NoSuchElementException
- iteration has no more elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |