Class IntLists.SynchronizedRandomAccessList

  • All Implemented Interfaces:
    IntCollection, IntIterable, IntList, 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:
    IntLists

    public static class IntLists.SynchronizedRandomAccessList
    extends IntLists.SynchronizedList
    implements java.util.RandomAccess, java.io.Serializable
    A synchronized wrapper class for random-access lists.
    See Also:
    Serialized Form
    • 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.

        Note that this specification strengthens the one given in List.subList(int,int).

        Specified by:
        subList in interface IntList
        Specified by:
        subList in interface java.util.List<java.lang.Integer>
        Overrides:
        subList in class IntLists.SynchronizedList
        See Also:
        List.subList(int,int)