Package io.vavr.collection
Class JavaConverters.ListView.ListIterator<T,C extends Seq<T>>
java.lang.Object
io.vavr.collection.JavaConverters.ListView.Iterator<T,C>
io.vavr.collection.JavaConverters.ListView.ListIterator<T,C>
- All Implemented Interfaces:
Iterator<T>
,ListIterator<T>
- Enclosing class:
JavaConverters.ListView<T,
C extends Seq<T>>
private static class JavaConverters.ListView.ListIterator<T,C extends Seq<T>>
extends JavaConverters.ListView.Iterator<T,C>
implements ListIterator<T>
-
Field Summary
Fields inherited from class io.vavr.collection.JavaConverters.ListView.Iterator
expectedSize, lastIndex, list, nextIndex
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.vavr.collection.JavaConverters.ListView.Iterator
checkForComodification, forEachRemaining, hasNext, next, remove
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
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
ListIterator
ListIterator(JavaConverters.ListView<T, C> list, int index)
-
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<T>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<T>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<T>
-
previous
- Specified by:
previous
in interfaceListIterator<T>
-
set
- Specified by:
set
in interfaceListIterator<T>
-
add
- Specified by:
add
in interfaceListIterator<T>
-