Class ReferenceLists.SynchronizedRandomAccessList<K>

    • Method Detail

      • subList

        public ReferenceList<K> subList​(int from,
                                        int to)
        Description copied from interface: ReferenceList
        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 java.util.List<K>
        Specified by:
        subList in interface ReferenceList<K>
        Overrides:
        subList in class ReferenceLists.SynchronizedList<K>
        See Also:
        List.subList(int,int)