Class EolSequence<T>

java.lang.Object
org.eclipse.epsilon.eol.types.EolCollection<T>
org.eclipse.epsilon.eol.types.EolSequence<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, RandomAccess

public class EolSequence<T> extends EolCollection<T> implements List<T>, RandomAccess
  • Constructor Details

    • EolSequence

      public EolSequence()
  • Method Details

    • ensureCapacity

      public void ensureCapacity(int minSize)
      Parameters:
      minSize -
      Since:
      1.6
    • addAll

      public boolean addAll(int index, Collection<? extends T> c)
      Specified by:
      addAll in interface List<T>
    • replaceAll

      public void replaceAll(UnaryOperator<T> operator)
      Specified by:
      replaceAll in interface List<T>
    • sort

      public void sort(Comparator<? super T> c)
      Specified by:
      sort in interface List<T>
    • get

      public T get(int index)
      Specified by:
      get in interface List<T>
    • set

      public T set(int index, T element)
      Specified by:
      set in interface List<T>
    • add

      public void add(int index, T element)
      Specified by:
      add in interface List<T>
    • remove

      public T remove(int index)
      Specified by:
      remove in interface List<T>
    • indexOf

      public int indexOf(Object o)
      Specified by:
      indexOf in interface List<T>
    • lastIndexOf

      public int lastIndexOf(Object o)
      Specified by:
      lastIndexOf in interface List<T>
    • listIterator

      public ListIterator<T> listIterator()
      Specified by:
      listIterator in interface List<T>
    • listIterator

      public ListIterator<T> listIterator(int index)
      Specified by:
      listIterator in interface List<T>
    • subList

      public List<T> subList(int fromIndex, int toIndex)
      Specified by:
      subList in interface List<T>