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,Serializable,Comparable<List<? extends Byte>>,Iterable<Byte>,Collection<Byte>,List<Byte>,RandomAccess
- Enclosing class:
- ByteLists
public static class ByteLists.UnmodifiableRandomAccessList extends ByteLists.UnmodifiableList implements RandomAccess, Serializable
An unmodifiable wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
-
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
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
addAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
subList
public ByteList subList(int from, int to)
Description copied from interface:ByteListReturns 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:
subListin interfaceByteList- Specified by:
subListin interfaceList<Byte>- Overrides:
subListin classByteLists.UnmodifiableList- See Also:
List.subList(int,int)
-
-