class InvalidatingIterator extends Object implements ListIterator<SpanNode>
Modifier and Type | Field and Description |
---|---|
private ListIterator<SpanNode> |
base |
private SpanList |
owner |
private SpanNode |
returnedFromNext |
Constructor and Description |
---|
InvalidatingIterator(SpanList owner,
ListIterator<SpanNode> base) |
Modifier and Type | Method and Description |
---|---|
void |
add(SpanNode spanNode) |
boolean |
hasNext() |
boolean |
hasPrevious() |
SpanNode |
next() |
int |
nextIndex() |
SpanNode |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(SpanNode spanNode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private SpanList owner
private ListIterator<SpanNode> base
private SpanNode returnedFromNext
InvalidatingIterator(SpanList owner, ListIterator<SpanNode> base)
public boolean hasNext()
public SpanNode next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<SpanNode>
public SpanNode previous()
previous
in interface ListIterator<SpanNode>
public int nextIndex()
nextIndex
in interface ListIterator<SpanNode>
public int previousIndex()
previousIndex
in interface ListIterator<SpanNode>
public void remove()
public void set(SpanNode spanNode)
set
in interface ListIterator<SpanNode>
public void add(SpanNode spanNode)
add
in interface ListIterator<SpanNode>
Copyright © 2018. All rights reserved.