Class JavaConverters.ListView<T, C extends Seq<T>>
java.lang.Object
io.vavr.collection.JavaConverters.HasDelegate<C>
io.vavr.collection.JavaConverters.ListView<T,C>
- All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>
- Enclosing class:
JavaConverters
@GwtIncompatible("reflection is not supported")
static class JavaConverters.ListView<T, C extends Seq<T>>
extends JavaConverters.HasDelegate<C>
implements List<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classJavaConverters.ListView.Iterator<T, C extends Seq<T>>private static classJavaConverters.ListView.ListIterator<T, C extends Seq<T>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> collection) booleanaddAll(Collection<? extends T> collection) voidclear()booleanbooleancontainsAll(Collection<?> collection) booleanget(int index) inthashCode()intbooleanisEmpty()iterator()intlastIndexOf(Object obj) listIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) private TsetDelegateAndGetPreviousElement(int index, Supplier<C> delegate) intsize()voidsort(Comparator<? super T> comparator) subList(int fromIndex, int toIndex) Object[]toArray()<U> U[]toArray(U[] array) toString()Methods inherited from class JavaConverters.HasDelegate
ensureMutable, getDelegate, isMutable, setDelegate, setDelegateAndCheckChangedMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, replaceAll, reversed, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ListView
ListView(C delegate, boolean mutable)
-
-
Method Details
-
add
-
add
-
addAll
-
addAll
-
clear
-
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
get
-
indexOf
-
isEmpty
-
iterator
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
size
-
sort
-
subList
-
toArray
-
toArray
-
equals
-
hashCode
-
toString
-
setDelegateAndGetPreviousElement
-