Package gnu.trove.impl.unmodifiable
Class TUnmodifiableRandomAccessShortList
- java.lang.Object
-
- gnu.trove.impl.unmodifiable.TUnmodifiableShortCollection
-
- gnu.trove.impl.unmodifiable.TUnmodifiableShortList
-
- gnu.trove.impl.unmodifiable.TUnmodifiableRandomAccessShortList
-
- All Implemented Interfaces:
TShortList
,TShortCollection
,java.io.Serializable
,java.util.RandomAccess
public class TUnmodifiableRandomAccessShortList extends TUnmodifiableShortList implements java.util.RandomAccess
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TUnmodifiableRandomAccessShortList(TShortList list)
-
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.unmodifiable.TUnmodifiableShortList
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.TUnmodifiableShortCollection
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
-
TUnmodifiableRandomAccessShortList
public TUnmodifiableRandomAccessShortList(TShortList list)
-
-
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 classTUnmodifiableShortList
- 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.
-
-