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