private class MemoryHistory.EntriesIterator extends java.lang.Object implements java.util.ListIterator<History.Entry>
Modifier and Type | Field and Description |
---|---|
private java.util.ListIterator<java.lang.CharSequence> |
source |
Modifier | Constructor and Description |
---|---|
private |
EntriesIterator(int index) |
Modifier and Type | Method and Description |
---|---|
void |
add(History.Entry entry) |
boolean |
hasNext() |
boolean |
hasPrevious() |
History.Entry |
next() |
int |
nextIndex() |
History.Entry |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(History.Entry entry) |
public History.Entry next()
next
in interface java.util.Iterator<History.Entry>
next
in interface java.util.ListIterator<History.Entry>
public History.Entry previous()
previous
in interface java.util.ListIterator<History.Entry>
public int nextIndex()
nextIndex
in interface java.util.ListIterator<History.Entry>
public int previousIndex()
previousIndex
in interface java.util.ListIterator<History.Entry>
public boolean hasNext()
hasNext
in interface java.util.Iterator<History.Entry>
hasNext
in interface java.util.ListIterator<History.Entry>
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<History.Entry>
public void remove()
remove
in interface java.util.Iterator<History.Entry>
remove
in interface java.util.ListIterator<History.Entry>
public void set(History.Entry entry)
set
in interface java.util.ListIterator<History.Entry>
public void add(History.Entry entry)
add
in interface java.util.ListIterator<History.Entry>