Class ListIteratorImpl<E>
java.lang.Object
org.reactfx.collection.ListIteratorImpl<E>
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListIteratorImpl(List<E> list) ListIteratorImpl(List<E> list, int initialPosition) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
list
-
position
private int position
-
-
Constructor Details
-
ListIteratorImpl
-
ListIteratorImpl
-
-
Method Details
-
hasNext
-
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>
-
remove
-
set
- Specified by:
setin interfaceListIterator<E>
-
add
- Specified by:
addin interfaceListIterator<E>
-