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 voidadd(T element)booleanhasPrevious()intnextIndex()Tprevious()intpreviousIndex()voidset(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:
hasPreviousin interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<T>
-
-