Class AbstractLongList.LongRandomAccessSubList

java.lang.Object
java.util.AbstractCollection<java.lang.Long>
All Implemented Interfaces:
LongCollection, LongIterable, LongList, LongStack, Stack<java.lang.Long>, java.io.Serializable, java.lang.Comparable<java.util.List<? extends java.lang.Long>>, java.lang.Iterable<java.lang.Long>, java.util.Collection<java.lang.Long>, java.util.List<java.lang.Long>, java.util.RandomAccess
Enclosing class:
AbstractLongList

public static class AbstractLongList.LongRandomAccessSubList
extends AbstractLongList.LongSubList
implements java.util.RandomAccess
See Also:
Serialized Form
  • Constructor Details

    • LongRandomAccessSubList

      public LongRandomAccessSubList​(LongList l, int from, int to)
  • Method Details

    • subList

      public LongList subList​(int from, int to)
      Description copied from interface: LongList
      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.Long>
      Specified by:
      subList in interface LongList
      Overrides:
      subList in class AbstractLongList.LongSubList
      See Also:
      List.subList(int,int)