Package it.unimi.dsi.fastutil.ints
Class IntLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.ints.IntCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.ints.IntLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.ints.IntLists.UnmodifiableRandomAccessList
-
- All Implemented Interfaces:
IntCollection
,IntIterable
,IntList
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Integer>>
,java.lang.Iterable<java.lang.Integer>
,java.util.Collection<java.lang.Integer>
,java.util.List<java.lang.Integer>
,java.util.RandomAccess
- Enclosing class:
- IntLists
public static class IntLists.UnmodifiableRandomAccessList extends IntLists.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 IntList
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.ints.IntLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getInt, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeInt, set, set, setElements, setElements, setElements, size, sort, sort, unstableSort, unstableSort
-
Methods inherited from class it.unimi.dsi.fastutil.ints.IntCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toIntArray, toIntArray, toString
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toIntArray, toIntArray
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public IntList subList(int from, int to)
Description copied from interface:IntList
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 interfaceIntList
- Specified by:
subList
in interfacejava.util.List<java.lang.Integer>
- Overrides:
subList
in classIntLists.UnmodifiableList
- See Also:
List.subList(int,int)
-
-