Class UninitializedList<T>

java.lang.Object
ubic.gemma.model.util.UninitializedCollection<T>
ubic.gemma.model.util.UninitializedList<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>

public class UninitializedList<T> extends UninitializedCollection<T> implements List<T>
A list that is intentionally not initialized.
Author:
poirigui
  • Constructor Details

    • UninitializedList

      public UninitializedList()
    • UninitializedList

      public UninitializedList(int size)
  • Method Details

    • addAll

      public boolean addAll(int index, @NonNull Collection<? extends T> c)
      Specified by:
      addAll 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

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

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

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