public class DoubleArrayList.SubList extends AbstractDoubleList.DoubleRandomAccessSubList
AbstractDoubleList.DoubleRandomAccessSubList, AbstractDoubleList.DoubleSubListfrom, l, to| Constructor and Description |
|---|
SubList(int from,
int to) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.util.List<? extends java.lang.Double> l)
Compares this list to another object.
|
boolean |
equals(java.lang.Object o) |
double |
getDouble(int i)
Returns the element at the specified position in this list.
|
DoubleListIterator |
listIterator(int index)
Returns a type-specific list iterator on the list starting at a given index.
|
it.unimi.dsi.fastutil.doubles.DoubleSpliterator |
spliterator()
Returns a type-specific spliterator on the elements of this list.
|
subListadd, add, addAll, addAll, addAll, addElements, getElements, rem, removeDouble, removeElements, set, setElements, sizeaddAll, addAll, addElements, clear, contains, ensureIndex, ensureRestrictedIndex, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekDouble, popDouble, push, replaceAll, size, toArray, toDoubleArray, topDouble, toStringadd, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toDoubleArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSortcontainsAll, isEmpty, removeAll, retainAll, toArray, toArraycontainsAll, doubleIterator, doubleParallelStream, doubleSpliterator, doubleStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toDoubleArrayforEach, forEachpeek, pop, push, toppublic double getDouble(int i)
DoubleListgetDouble in interface DoubleListgetDouble in class AbstractDoubleList.DoubleSubListList.get(int)public DoubleListIterator listIterator(int index)
AbstractDoubleListlistIterator in interface DoubleListlistIterator in interface java.util.List<java.lang.Double>listIterator in class AbstractDoubleList.DoubleSubListList.listIterator(int)public it.unimi.dsi.fastutil.doubles.DoubleSpliterator spliterator()
DoubleListList spliterators must report at least Spliterator.SIZED and Spliterator.ORDERED.
See List.spliterator() for more documentation on the requirements
of the returned spliterator.
spliterator in interface DoubleCollectionspliterator in interface DoubleIterablespliterator in interface DoubleListspliterator in interface java.lang.Iterable<java.lang.Double>spliterator in interface java.util.Collection<java.lang.Double>spliterator in interface java.util.List<java.lang.Double>spliterator in class AbstractDoubleList.DoubleSubListpublic boolean equals(java.lang.Object o)
equals in interface java.util.Collection<java.lang.Double>equals in interface java.util.List<java.lang.Double>equals in class AbstractDoubleListpublic int compareTo(java.util.List<? extends java.lang.Double> l)
AbstractDoubleListList, this method performs a lexicographical comparison; otherwise,
it throws a ClassCastException.compareTo in interface java.lang.Comparable<java.util.List<? extends java.lang.Double>>compareTo in class AbstractDoubleListl - a list.List, a negative integer,
zero, or a positive integer as this list is lexicographically less than, equal
to, or greater than the argument.