Package it.unimi.dsi.fastutil.bytes
Class ByteLists.SynchronizedRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.bytes.ByteCollections.SynchronizedCollection
-
- it.unimi.dsi.fastutil.bytes.ByteLists.SynchronizedList
-
- it.unimi.dsi.fastutil.bytes.ByteLists.SynchronizedRandomAccessList
-
- 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.SynchronizedRandomAccessList extends ByteLists.SynchronizedList implements RandomAccess, Serializable
A synchronized 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.SynchronizedList
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.SynchronizedCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, removeIf, 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: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 interfaceList<Byte>
- Overrides:
subList
in classByteLists.SynchronizedList
- See Also:
List.subList(int,int)
-
-