Package it.unimi.dsi.fastutil.longs
Class LongLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.longs.LongCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.longs.LongLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.longs.LongLists.UnmodifiableRandomAccessList
-
- All Implemented Interfaces:
LongCollection
,LongIterable
,LongList
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Long>>
,java.lang.Iterable<java.lang.Long>
,java.util.Collection<java.lang.Long>
,java.util.List<java.lang.Long>
,java.util.RandomAccess
- Enclosing class:
- LongLists
public static class LongLists.UnmodifiableRandomAccessList extends LongLists.UnmodifiableList implements java.util.RandomAccess, java.io.Serializable
An unmodifiable wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongList
subList(int from, int to)
Returns a type-specific view of the portion of this list from the indexfrom
, inclusive, to the indexto
, exclusive.-
Methods inherited from class it.unimi.dsi.fastutil.longs.LongLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getLong, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeLong, set, set, size
-
Methods inherited from class it.unimi.dsi.fastutil.longs.LongCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toLongArray, toLongArray, toString
-
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.longs.LongCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toLongArray, toLongArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public LongList subList(int from, int to)
Description copied from interface:LongList
Returns 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:
subList
in interfacejava.util.List<java.lang.Long>
- Specified by:
subList
in interfaceLongList
- Overrides:
subList
in classLongLists.UnmodifiableList
- See Also:
List.subList(int,int)
-
-