Package org.reactfx.collection
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
list
-
position
private int position
-
-
Constructor Details
-
ListIteratorImpl
-
ListIteratorImpl
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
-
previous
- Specified by:
previous
in interfaceListIterator<E>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<E>
-
add
- Specified by:
add
in interfaceListIterator<E>
-