static class SetUniqueList.SetListListIterator<E> extends AbstractListIteratorDecorator<E>
Modifier and Type | Field and Description |
---|---|
private E |
last |
private java.util.Set<E> |
set |
Modifier | Constructor and Description |
---|---|
protected |
SetListListIterator(java.util.ListIterator<E> it,
java.util.Set<E> set) |
Modifier and Type | Method and Description |
---|---|
void |
add(E object) |
E |
next() |
E |
previous() |
void |
remove() |
void |
set(E object) |
getListIterator, hasNext, hasPrevious, nextIndex, previousIndex
public E next()
AbstractListIteratorDecorator
next
in interface java.util.Iterator<E>
next
in interface java.util.ListIterator<E>
next
in class AbstractListIteratorDecorator<E>
public E previous()
AbstractListIteratorDecorator
previous
in interface java.util.ListIterator<E>
previous
in class AbstractListIteratorDecorator<E>
public void remove()
AbstractListIteratorDecorator
remove
in interface java.util.Iterator<E>
remove
in interface java.util.ListIterator<E>
remove
in class AbstractListIteratorDecorator<E>
public void add(E object)
AbstractListIteratorDecorator
add
in interface java.util.ListIterator<E>
add
in class AbstractListIteratorDecorator<E>
public void set(E object)
AbstractListIteratorDecorator
set
in interface java.util.ListIterator<E>
set
in class AbstractListIteratorDecorator<E>