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

public interface TList<E> extends TSequencedCollection<E>
  • Method Details

    • addAll

      boolean addAll(int index, TCollection<? extends E> c)
    • get

      E get(int index)
    • set

      E set(int index, E element)
    • add

      void add(int index, E element)
    • remove

      E remove(int index)
    • indexOf

      int indexOf(Object o)
    • lastIndexOf

      int lastIndexOf(Object o)
    • listIterator

      TListIterator<E> listIterator()
    • listIterator

      TListIterator<E> listIterator(int index)
    • subList

      TList<E> subList(int fromIndex, int toIndex)
    • replaceAll

      default void replaceAll(TUnaryOperator<E> operator)
    • sort

      default void sort(TComparator<? super E> c)
    • addFirst

      default void addFirst(E e)
      Specified by:
      addFirst in interface TSequencedCollection<E>
    • addLast

      default void addLast(E e)
      Specified by:
      addLast in interface TSequencedCollection<E>
    • getFirst

      default E getFirst()
      Specified by:
      getFirst in interface TSequencedCollection<E>
    • getLast

      default E getLast()
      Specified by:
      getLast in interface TSequencedCollection<E>
    • removeFirst

      default E removeFirst()
      Specified by:
      removeFirst in interface TSequencedCollection<E>
    • removeLast

      default E removeLast()
      Specified by:
      removeLast in interface TSequencedCollection<E>
    • reversed

      default TList<E> reversed()
      Specified by:
      reversed in interface TSequencedCollection<E>
    • of

      static <E> TList<E> of()
    • of

      static <E> TList<E> of(E e)
    • of

      static <E> TList<E> of(E e1, E e2)
    • of

      static <E> TList<E> of(E e1, E e2, E e3)
    • of

      static <E> TList<E> of(E e1, E e2, E e3, E e4)
    • of

      static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5)
    • of

      static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6)
    • of

      static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
    • of

      static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
    • of

      static <E> TList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
    • of

      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)
    • of

      @SafeVarargs static <E> TList<E> of(E... elements)
    • copyOf

      static <E> TList<E> copyOf(TCollection<? extends E> collection)