Class AbstractShortList.ShortRandomAccessSubList

java.lang.Object
java.util.AbstractCollection<java.lang.Short>
All Implemented Interfaces:
ShortCollection, ShortIterable, ShortList, ShortStack, Stack<java.lang.Short>, java.io.Serializable, java.lang.Comparable<java.util.List<? extends java.lang.Short>>, java.lang.Iterable<java.lang.Short>, java.util.Collection<java.lang.Short>, java.util.List<java.lang.Short>, java.util.RandomAccess
Enclosing class:
AbstractShortList

public static class AbstractShortList.ShortRandomAccessSubList
extends AbstractShortList.ShortSubList
implements java.util.RandomAccess
See Also:
Serialized Form
  • Constructor Details

    • ShortRandomAccessSubList

      public ShortRandomAccessSubList​(ShortList l, int from, int to)
  • Method Details

    • subList

      public ShortList subList​(int from, int to)
      Description copied from interface: ShortList
      Returns a type-specific view of the portion of this list from the index from, inclusive, to the index to, exclusive.
      Specified by:
      subList in interface java.util.List<java.lang.Short>
      Specified by:
      subList in interface ShortList
      Overrides:
      subList in class AbstractShortList.ShortSubList
      See Also:
      List.subList(int,int)