choco.kernel.common.util.objects
Class IntList.IntListIterator
java.lang.Object
choco.kernel.common.util.disposable.Disposable
choco.kernel.common.util.iterators.DisposableIntIterator
choco.kernel.common.util.objects.IntList.IntListIterator
- Enclosing class:
- IntList
protected static class IntList.IntListIterator
- extends DisposableIntIterator
Method Summary |
boolean |
hasNext()
|
void |
init(IntList list)
|
int |
next()
|
int |
read()
Read the next element wihtout incrementing |
void |
remove()
Removes from the underlying collection the last element returned by the
iterator (optional operation). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntList.IntListIterator
protected IntList.IntListIterator()
init
public void init(IntList list)
hasNext
public boolean hasNext()
next
public int next()
remove
public void remove()
- Description copied from class:
DisposableIntIterator
- Removes from the underlying collection the last element returned by the
iterator (optional operation). This method can be called only once per
call to next. The behavior of an iterator is unspecified if
the underlying collection is modified while the iteration is in
progress in any way other than by calling this method.
- Overrides:
remove
in class DisposableIntIterator
read
public int read()
- Read the next element wihtout incrementing
Copyright © 2012. All Rights Reserved.