java.util.Iterator<E>
, java.util.ListIterator<E>
public class RecordingListIterator<E>
extends java.lang.Object
implements java.util.ListIterator<E>
Constructor | Description |
---|---|
RecordingListIterator(RecordingList<E> recordingList,
int index) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(E e) |
|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
Read-only
|
E |
next() |
|
int |
nextIndex() |
|
E |
previous() |
|
int |
previousIndex() |
|
void |
remove() |
|
void |
set(E e) |
public RecordingListIterator(RecordingList<E> recordingList, int index)
public boolean hasNext()
public E next()
public void remove()
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<E>
public int nextIndex()
nextIndex
in interface java.util.ListIterator<E>
public int previousIndex()
previousIndex
in interface java.util.ListIterator<E>
Copyright © 2014–2018 Blazebit. All rights reserved.