Class ListWrapper<E>

java.lang.Object
com.vividsolutions.jump.util.CollectionWrapper<E>
com.vividsolutions.jump.util.ListWrapper<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>
Direct Known Subclasses:
LazyList

public abstract class ListWrapper<E> extends CollectionWrapper<E> implements List<E>
  • Constructor Details

    • ListWrapper

      public ListWrapper()
  • Method Details

    • getList

      public List<E> getList()
    • get

      public E get(int index)
      Specified by:
      get in interface List<E>
    • remove

      public E remove(int index)
      Specified by:
      remove in interface List<E>
    • add

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

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

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

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

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

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

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

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