Class AbstractObjectList.ObjectRandomAccessSubList<K>

java.lang.Object
java.util.AbstractCollection<K>
All Implemented Interfaces:
ObjectCollection<K>, ObjectIterable<K>, ObjectList<K>, Stack<K>, java.io.Serializable, java.lang.Comparable<java.util.List<? extends K>>, java.lang.Iterable<K>, java.util.Collection<K>, java.util.List<K>, java.util.RandomAccess
Enclosing class:
AbstractObjectList<K>

public static class AbstractObjectList.ObjectRandomAccessSubList<K>
extends AbstractObjectList.ObjectSubList<K>
implements java.util.RandomAccess
See Also:
Serialized Form
  • Constructor Details

    • ObjectRandomAccessSubList

      public ObjectRandomAccessSubList​(ObjectList<K> l, int from, int to)
  • Method Details

    • subList

      public ObjectList<K> subList​(int from, int to)
      Description copied from interface: ObjectList
      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<K>
      Specified by:
      subList in interface ObjectList<K>
      Overrides:
      subList in class AbstractObjectList.ObjectSubList<K>
      See Also:
      List.subList(int,int)