Package it.unimi.dsi.fastutil.doubles
Class DoubleLists.SynchronizedRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.doubles.DoubleCollections.SynchronizedCollection
-
- it.unimi.dsi.fastutil.doubles.DoubleLists.SynchronizedList
-
- it.unimi.dsi.fastutil.doubles.DoubleLists.SynchronizedRandomAccessList
-
- All Implemented Interfaces:
DoubleCollection
,DoubleIterable
,DoubleList
,Serializable
,Comparable<List<? extends Double>>
,Iterable<Double>
,Collection<Double>
,List<Double>
,RandomAccess
- Enclosing class:
- DoubleLists
public static class DoubleLists.SynchronizedRandomAccessList extends DoubleLists.SynchronizedList implements RandomAccess, Serializable
A synchronized wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleList
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.doubles.DoubleLists.SynchronizedList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getDouble, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeDouble, removeElements, set, set, setElements, setElements, setElements, size, sort, sort, unstableSort, unstableSort
-
Methods inherited from class it.unimi.dsi.fastutil.doubles.DoubleCollections.SynchronizedCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, toArray, toArray, toArray, toDoubleArray, toDoubleArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArray
-
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList
add, add, contains, remove
-
Methods inherited from interface java.util.List
addAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
subList
public DoubleList subList(int from, int to)
Description copied from interface:DoubleList
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 interfaceDoubleList
- Specified by:
subList
in interfaceList<Double>
- Overrides:
subList
in classDoubleLists.SynchronizedList
- See Also:
List.subList(int,int)
-
-