Class AbstractIntList.IntRandomAccessSubList

  • All Implemented Interfaces:
    IntCollection, IntIterable, IntList, IntStack, Stack<java.lang.Integer>, java.io.Serializable, java.lang.Comparable<java.util.List<? extends java.lang.Integer>>, java.lang.Iterable<java.lang.Integer>, java.util.Collection<java.lang.Integer>, java.util.List<java.lang.Integer>, java.util.RandomAccess
    Enclosing class:
    AbstractIntList

    public static class AbstractIntList.IntRandomAccessSubList
    extends AbstractIntList.IntSubList
    implements java.util.RandomAccess
    See Also:
    Serialized Form
    • Constructor Detail

      • IntRandomAccessSubList

        public IntRandomAccessSubList​(IntList l,
                                      int from,
                                      int to)
    • Method Detail

      • subList

        public IntList subList​(int from,
                               int to)
        Description copied from interface: IntList
        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 IntList
        Specified by:
        subList in interface java.util.List<java.lang.Integer>
        Overrides:
        subList in class AbstractIntList.IntSubList
        See Also:
        List.subList(int,int)