Package gnu.trove.impl.unmodifiable
Class TUnmodifiableRandomAccessLongList
- java.lang.Object
-
- gnu.trove.impl.unmodifiable.TUnmodifiableLongCollection
-
- gnu.trove.impl.unmodifiable.TUnmodifiableLongList
-
- gnu.trove.impl.unmodifiable.TUnmodifiableRandomAccessLongList
-
- All Implemented Interfaces:
TLongList
,TLongCollection
,java.io.Serializable
,java.util.RandomAccess
public class TUnmodifiableRandomAccessLongList extends TUnmodifiableLongList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TUnmodifiableRandomAccessLongList(TLongList list)
-
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.unmodifiable.TUnmodifiableLongList
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.unmodifiable.TUnmodifiableLongCollection
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
-
-
-
-
Constructor Detail
-
TUnmodifiableRandomAccessLongList
public TUnmodifiableRandomAccessLongList(TLongList list)
-
-
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 classTUnmodifiableLongList
- 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.
-
-