public interface DoubleList extends ReversibleDoubleIterable
| Modifier and Type | Method and Description |
|---|---|
int |
binarySearch(double value) |
<V> ListIterable<V> |
collect(DoubleToObjectFunction<? extends V> function) |
DoubleList |
distinct() |
double |
dotProduct(DoubleList list) |
boolean |
equals(Object o)
Follows the same general contract as
List.equals(Object). |
double |
get(int index) |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
lastIndexOf(double value) |
DoubleList |
reject(DoublePredicate predicate) |
DoubleList |
select(DoublePredicate predicate) |
DoubleList |
subList(int fromIndex,
int toIndex) |
ImmutableDoubleList |
toImmutable()
Returns an immutable copy of this list.
|
DoubleList |
toReversed() |
asReversed, getLast, injectIntoWithIndexforEachWithIndex, getFirst, indexOfallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdouble get(int index)
double dotProduct(DoubleList list)
int binarySearch(double value)
int lastIndexOf(double value)
DoubleList select(DoublePredicate predicate)
select in interface DoubleIterableselect in interface OrderedDoubleIterableselect in interface ReversibleDoubleIterableDoubleList reject(DoublePredicate predicate)
reject in interface DoubleIterablereject in interface OrderedDoubleIterablereject in interface ReversibleDoubleIterable<V> ListIterable<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface DoubleIterablecollect in interface OrderedDoubleIterablecollect in interface ReversibleDoubleIterableboolean equals(Object o)
List.equals(Object).int hashCode()
List.hashCode().ImmutableDoubleList toImmutable()
DoubleList distinct()
distinct in interface ReversibleDoubleIterableDoubleList toReversed()
toReversed in interface ReversibleDoubleIterableDoubleList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}Copyright © 2004–2017. All rights reserved.