Package it.unimi.dsi.fastutil.bytes
Class ByteLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.bytes.ByteCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.bytes.ByteLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.bytes.ByteLists.UnmodifiableRandomAccessList
-
- All Implemented Interfaces:
ByteCollection
,ByteIterable
,ByteList
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Byte>>
,java.lang.Iterable<java.lang.Byte>
,java.util.Collection<java.lang.Byte>
,java.util.List<java.lang.Byte>
,java.util.RandomAccess
- Enclosing class:
- ByteLists
public static class ByteLists.UnmodifiableRandomAccessList extends ByteLists.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 ByteList
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.bytes.ByteLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getByte, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeByte, removeElements, set, set, setElements, setElements, setElements, size, sort, sort, unstableSort, unstableSort
-
Methods inherited from class it.unimi.dsi.fastutil.bytes.ByteCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toByteArray, toByteArray, toString
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toByteArray, toByteArray
-
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public ByteList subList(int from, int to)
Description copied from interface:ByteList
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 interfaceByteList
- Specified by:
subList
in interfacejava.util.List<java.lang.Byte>
- Overrides:
subList
in classByteLists.UnmodifiableList
- See Also:
List.subList(int,int)
-
-