Package org.teavm.classlib.java.util
Interface TList<E>
- All Superinterfaces:
TCollection<E>,TIterable<E>,TSequencedCollection<E>
- All Known Implementing Classes:
TAbstractList,TAbstractSequentialList,TArrayList,TLinkedBlockingDeque,TLinkedList,TStack,TTemplateCollections.ImmutableArrayList,TVector
-
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, TCollection<? extends E> c) default voiddefault voidstatic <E> TList<E> copyOf(TCollection<? extends E> collection) get(int index) default EgetFirst()default EgetLast()intintlistIterator(int index) static <E> TList<E> of()static <E> TList<E> of(E e) static <E> TList<E> of(E... elements) static <E> TList<E> of(E e1, E e2) static <E> TList<E> of(E e1, E e2, E e3) static <E> TList<E> of(E e1, E e2, E e3, E e4) static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5) static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10) remove(int index) default Edefault Edefault voidreplaceAll(TUnaryOperator<E> operator) reversed()default voidsort(TComparator<? super E> c) subList(int fromIndex, int toIndex)
-
Method Details
-
addAll
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
-
listIterator
TListIterator<E> listIterator() -
listIterator
-
subList
-
replaceAll
-
sort
-
addFirst
- Specified by:
addFirstin interfaceTSequencedCollection<E>
-
addLast
- Specified by:
addLastin interfaceTSequencedCollection<E>
-
getFirst
- Specified by:
getFirstin interfaceTSequencedCollection<E>
-
getLast
- Specified by:
getLastin interfaceTSequencedCollection<E>
-
removeFirst
- Specified by:
removeFirstin interfaceTSequencedCollection<E>
-
removeLast
- Specified by:
removeLastin interfaceTSequencedCollection<E>
-
reversed
- Specified by:
reversedin interfaceTSequencedCollection<E>
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
copyOf
-