Package it.unimi.dsi.fastutil.shorts
Class ShortLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.shorts.ShortCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.shorts.ShortLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.shorts.ShortLists.UnmodifiableRandomAccessList
-
- All Implemented Interfaces:
ShortCollection,ShortIterable,ShortList,Serializable,Comparable<List<? extends Short>>,Iterable<Short>,Collection<Short>,List<Short>,RandomAccess
- Enclosing class:
- ShortLists
public static class ShortLists.UnmodifiableRandomAccessList extends ShortLists.UnmodifiableList implements RandomAccess, Serializable
An unmodifiable wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.ShortLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getShort, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeShort, set, set, size
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.ShortCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toShortArray, toShortArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
addAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toShortArray, toShortArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public ShortList subList(int from, int to)
Description copied from interface:ShortListReturns a type-specific view of the portion of this list from the indexfrom, inclusive, to the indexto, exclusive.Note that this specification strengthens the one given in
List.subList(int,int).- Specified by:
subListin interfaceList<Short>- Specified by:
subListin interfaceShortList- Overrides:
subListin classShortLists.UnmodifiableList- See Also:
List.subList(int,int)
-
-