Package it.unimi.dsi.fastutil.floats
Class FloatLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.floats.FloatCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.floats.FloatLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.floats.FloatLists.UnmodifiableRandomAccessList
-
- All Implemented Interfaces:
FloatCollection
,FloatIterable
,FloatList
,Serializable
,Comparable<List<? extends Float>>
,Iterable<Float>
,Collection<Float>
,List<Float>
,RandomAccess
- Enclosing class:
- FloatLists
public static class FloatLists.UnmodifiableRandomAccessList extends FloatLists.UnmodifiableList implements RandomAccess, 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 FloatList
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.floats.FloatLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getFloat, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeFloat, set, set, setElements, setElements, setElements, size, sort, sort, unstableSort, unstableSort
-
Methods inherited from class it.unimi.dsi.fastutil.floats.FloatCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toFloatArray, toFloatArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toFloatArray, toFloatArray
-
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatIterable
forEach, forEach
-
Methods inherited from interface java.util.List
addAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
subList
public FloatList subList(int from, int to)
Description copied from interface:FloatList
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 interfaceFloatList
- Specified by:
subList
in interfaceList<Float>
- Overrides:
subList
in classFloatLists.UnmodifiableList
- See Also:
List.subList(int,int)
-
-