Package it.unimi.dsi.fastutil.chars
Class CharLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.chars.CharCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.chars.CharLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.chars.CharLists.UnmodifiableRandomAccessList
-
- 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.UnmodifiableRandomAccessList extends CharLists.UnmodifiableList implements java.util.RandomAccess, java.io.Serializable
An unmodifiable wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharList
subList(int from, int to)
Returns a type-specific view of the portion of this list from the indexfrom
, inclusive, to the indexto
, exclusive.-
Methods inherited from class it.unimi.dsi.fastutil.chars.CharLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getChar, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeChar, removeElements, set, set, size
-
Methods inherited from class it.unimi.dsi.fastutil.chars.CharCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toCharArray, toCharArray, toString
-
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toCharArray, toCharArray
-
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharIterable
forEach, forEach
-
-
-
-
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 indexfrom
, inclusive, to the indexto
, exclusive.Note that this specification strengthens the one given in
List.subList(int,int)
.- Specified by:
subList
in interfaceCharList
- Specified by:
subList
in interfacejava.util.List<java.lang.Character>
- Overrides:
subList
in classCharLists.UnmodifiableList
- See Also:
List.subList(int,int)
-
-