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:
java.util.Iterator<T>
,java.util.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 java.util.ListIterator<T>
-
-
Field Summary
-
Fields inherited from class io.vavr.collection.JavaConverters.ListView.Iterator
expectedSize, lastIndex, list, nextIndex
-
-
Constructor Summary
Constructors Constructor Description ListIterator(JavaConverters.ListView<T,C> list, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T element)
boolean
hasPrevious()
int
nextIndex()
T
previous()
int
previousIndex()
void
set(T element)
-
Methods inherited from class io.vavr.collection.JavaConverters.ListView.Iterator
checkForComodification, forEachRemaining, hasNext, next, remove
-
-
-
-
Constructor Detail
-
ListIterator
ListIterator(JavaConverters.ListView<T,C> list, int index)
-
-
Method Detail
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<T>
-
-