private class VetoableListDecorator.VetoableIteratorDecorator
extends java.lang.Object
implements java.util.Iterator<E>
Modifier and Type | Field and Description |
---|---|
protected int |
cursor |
private java.util.Iterator<E> |
it |
protected int |
lastReturned |
private int |
modCount |
private VetoableListDecorator.ModCountAccessor |
modCountAccessor |
protected int |
offset |
Constructor and Description |
---|
VetoableIteratorDecorator(VetoableListDecorator.ModCountAccessor modCountAccessor,
java.util.Iterator<E> it,
int offset) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkForComodification() |
protected void |
decrementModCount() |
boolean |
hasNext() |
protected void |
incrementModCount() |
E |
next() |
void |
remove() |
private final java.util.Iterator<E> it
private final VetoableListDecorator.ModCountAccessor modCountAccessor
private int modCount
protected final int offset
protected int cursor
protected int lastReturned
public VetoableIteratorDecorator(VetoableListDecorator.ModCountAccessor modCountAccessor, java.util.Iterator<E> it, int offset)
public boolean hasNext()
hasNext
in interface java.util.Iterator<E>
public void remove()
remove
in interface java.util.Iterator<E>
protected void checkForComodification()
protected void incrementModCount()
protected void decrementModCount()