Package gnu.trove.impl.sync
Class TSynchronizedRandomAccessLongList
- java.lang.Object
-
- gnu.trove.impl.sync.TSynchronizedLongCollection
-
- gnu.trove.impl.sync.TSynchronizedLongList
-
- gnu.trove.impl.sync.TSynchronizedRandomAccessLongList
-
- All Implemented Interfaces:
TLongList
,TLongCollection
,java.io.Serializable
,java.util.RandomAccess
public class TSynchronizedRandomAccessLongList extends TSynchronizedLongList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TSynchronizedRandomAccessLongList(TLongList list)
TSynchronizedRandomAccessLongList(TLongList list, java.lang.Object mutex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TLongList
subList(int fromIndex, int toIndex)
Returns a sublist of this list.-
Methods inherited from class gnu.trove.impl.sync.TSynchronizedLongList
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.TSynchronizedLongCollection
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.TLongCollection
addAll, addAll, addAll, containsAll, containsAll, containsAll, iterator, removeAll, removeAll, removeAll, retainAll, retainAll, retainAll
-
-
-
-
Method Detail
-
subList
public TLongList subList(int fromIndex, int toIndex)
Description copied from interface:TLongList
Returns a sublist of this list.- Specified by:
subList
in interfaceTLongList
- Overrides:
subList
in classTSynchronizedLongList
- 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.
-
-