Class CharLists.SynchronizedRandomAccessList

  • All Implemented Interfaces:
    CharCollection, CharIterable, CharList, java.io.Serializable, java.lang.Comparable<java.util.List<? extends java.lang.Character>>, java.lang.Iterable<java.lang.Character>, java.util.Collection<java.lang.Character>, java.util.List<java.lang.Character>, java.util.RandomAccess
    Enclosing class:
    CharLists

    public static class CharLists.SynchronizedRandomAccessList
    extends CharLists.SynchronizedList
    implements java.util.RandomAccess, java.io.Serializable
    A synchronized wrapper class for random-access lists.
    See Also:
    Serialized Form
    • Method Detail

      • subList

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