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