Package gnu.trove.impl.sync
Class TSynchronizedRandomAccessShortList
- java.lang.Object
-
- gnu.trove.impl.sync.TSynchronizedShortCollection
-
- gnu.trove.impl.sync.TSynchronizedShortList
-
- gnu.trove.impl.sync.TSynchronizedRandomAccessShortList
-
- All Implemented Interfaces:
TShortList
,TShortCollection
,java.io.Serializable
,java.util.RandomAccess
public class TSynchronizedRandomAccessShortList extends TSynchronizedShortList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TSynchronizedRandomAccessShortList(TShortList list)
TSynchronizedRandomAccessShortList(TShortList list, java.lang.Object mutex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TShortList
subList(int fromIndex, int toIndex)
Returns a sublist of this list.-
Methods inherited from class gnu.trove.impl.sync.TSynchronizedShortList
add, add, binarySearch, binarySearch, equals, fill, fill, forEachDescending, get, grep, hashCode, indexOf, indexOf, insert, insert, insert, inverseGrep, lastIndexOf, lastIndexOf, max, min, remove, removeAt, replace, reverse, reverse, set, set, set, shuffle, sort, sort, sum, toArray, toArray, toArray, transformValues
-
Methods inherited from class gnu.trove.impl.sync.TSynchronizedShortCollection
add, addAll, addAll, addAll, clear, contains, containsAll, containsAll, containsAll, forEach, getNoEntryValue, isEmpty, iterator, remove, removeAll, removeAll, removeAll, retainAll, retainAll, retainAll, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gnu.trove.TShortCollection
addAll, addAll, addAll, containsAll, containsAll, containsAll, iterator, removeAll, removeAll, removeAll, retainAll, retainAll, retainAll
-
-
-
-
Constructor Detail
-
TSynchronizedRandomAccessShortList
public TSynchronizedRandomAccessShortList(TShortList list)
-
TSynchronizedRandomAccessShortList
public TSynchronizedRandomAccessShortList(TShortList list, java.lang.Object mutex)
-
-
Method Detail
-
subList
public TShortList subList(int fromIndex, int toIndex)
Description copied from interface:TShortList
Returns a sublist of this list.- Specified by:
subList
in interfaceTShortList
- Overrides:
subList
in classTSynchronizedShortList
- Parameters:
fromIndex
- low endpoint (inclusive) of the subList.toIndex
- high endpoint (exclusive) of the subList.- Returns:
- sublist of this list from begin, inclusive to end, exclusive.
-
-