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