Interface SubList<E>

All Superinterfaces:
Collection<E>, Iterable<E>, List<E>
All Known Implementing Classes:
ArraySubList

public interface SubList<E> extends List<E>
Represents a list that is a subset of some larger list.
Author:
Garret Wilson
  • Method Details

    • getSuperListSize

      int getSuperListSize()
      Returns:
      The size of the superlist of which this list is a sublist.
    • getStartIndex

      int getStartIndex()
      Returns:
      The index of the superlist at which this list starts.