E
- @StoreNotUseStandardSerialization public class RBTNodeListIterator<E> extends Object implements ListIterator<IRBTNode<E>>, Serializable
Constructor and Description |
---|
RBTNodeListIterator(RedBlackTree<E> tree) |
RBTNodeListIterator(RedBlackTree<E> tree,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
add(IRBTNode<E> element) |
boolean |
hasNext() |
boolean |
hasPrevious() |
static RBTNodeListIterator |
newInstance(IInstanceFactory instanceFactory,
RedBlackTree tree) |
static RBTNodeListIterator |
newInstance(IInstanceFactory instanceFactory,
RedBlackTree tree,
int index) |
IRBTNode<E> |
next() |
int |
nextIndex() |
IRBTNode<E> |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(IRBTNode<E> element) |
public RBTNodeListIterator(RedBlackTree<E> tree)
public RBTNodeListIterator(RedBlackTree<E> tree, int index)
public static RBTNodeListIterator newInstance(IInstanceFactory instanceFactory, RedBlackTree tree)
public static RBTNodeListIterator newInstance(IInstanceFactory instanceFactory, RedBlackTree tree, int index)
public boolean hasNext()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<IRBTNode<E>>
public IRBTNode<E> previous()
previous
in interface ListIterator<IRBTNode<E>>
public int nextIndex()
nextIndex
in interface ListIterator<IRBTNode<E>>
public int previousIndex()
previousIndex
in interface ListIterator<IRBTNode<E>>
public void remove()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.