Package it.unimi.dsi.fastutil.shorts
Class ShortLists.SynchronizedRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.shorts.ShortCollections.SynchronizedCollection
-
- it.unimi.dsi.fastutil.shorts.ShortLists.SynchronizedList
-
- it.unimi.dsi.fastutil.shorts.ShortLists.SynchronizedRandomAccessList
-
- All Implemented Interfaces:
ShortCollection,ShortIterable,ShortList,Serializable,Comparable<List<? extends Short>>,Iterable<Short>,Collection<Short>,List<Short>,RandomAccess
- Enclosing class:
- ShortLists
public static class ShortLists.SynchronizedRandomAccessList extends ShortLists.SynchronizedList implements RandomAccess, Serializable
A synchronized wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.ShortLists.SynchronizedList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getShort, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeShort, set, set, setElements, setElements, setElements, size, sort, sort, unstableSort, unstableSort
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.ShortCollections.SynchronizedCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, toArray, toArray, toArray, toShortArray, toShortArray, toString
-
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
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toShortArray, toShortArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public ShortList subList(int from, int to)
Description copied from interface:ShortListReturns 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 interfaceList<Short>- Specified by:
subListin interfaceShortList- Overrides:
subListin classShortLists.SynchronizedList- See Also:
List.subList(int,int)
-
-