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
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Short>>
,java.lang.Iterable<java.lang.Short>
,java.util.Collection<java.lang.Short>
,java.util.List<java.lang.Short>
,java.util.RandomAccess
- Enclosing class:
- ShortLists
public static class ShortLists.SynchronizedRandomAccessList extends ShortLists.SynchronizedList implements java.util.RandomAccess, java.io.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 ShortList
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.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.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:ShortList
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 interfacejava.util.List<java.lang.Short>
- Specified by:
subList
in interfaceShortList
- Overrides:
subList
in classShortLists.SynchronizedList
- See Also:
List.subList(int,int)
-
-