choco.kernel.memory.trailing
Class StoredBinaryTree.TreeIterator
java.lang.Object
choco.kernel.common.util.disposable.Disposable
choco.kernel.common.util.iterators.DisposableIntIterator
choco.kernel.memory.trailing.StoredBinaryTree.TreeIterator
- Enclosing class:
- StoredBinaryTree
protected static final class StoredBinaryTree.TreeIterator
- extends DisposableIntIterator
Method Summary |
boolean |
hasNext()
|
void |
init(StoredBinaryTree tree)
|
int |
next()
|
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 |
StoredBinaryTree.TreeIterator
protected StoredBinaryTree.TreeIterator()
init
public void init(StoredBinaryTree tree)
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
Copyright © 2012. All Rights Reserved.