Package org.teavm.classlib.java.util
Interface TList<E>
- All Superinterfaces:
TCollection<E>
,TIterable<E>
,TSequencedCollection<E>
- All Known Implementing Classes:
TAbstractList
,TAbstractSequentialList
,TArrayList
,TCopyOnWriteArrayList
,TLinkedBlockingDeque
,TLinkedList
,TStack
,TTemplateCollections.ImmutableArrayList
,TVector
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
addAll
(int index, TCollection<? extends E> c) default void
default void
static <E> TList<E>
copyOf
(TCollection<? extends E> collection) get
(int index) default E
getFirst()
default E
getLast()
int
int
listIterator
(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 E
default E
default void
replaceAll
(TUnaryOperator<E> operator) reversed()
default void
sort
(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:
addFirst
in interfaceTSequencedCollection<E>
-
addLast
- Specified by:
addLast
in interfaceTSequencedCollection<E>
-
getFirst
- Specified by:
getFirst
in interfaceTSequencedCollection<E>
-
getLast
- Specified by:
getLast
in interfaceTSequencedCollection<E>
-
removeFirst
- Specified by:
removeFirst
in interfaceTSequencedCollection<E>
-
removeLast
- Specified by:
removeLast
in interfaceTSequencedCollection<E>
-
reversed
- Specified by:
reversed
in interfaceTSequencedCollection<E>
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
copyOf
-