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, injectIntoWithIndex
forEachWithIndex, getFirst, indexOf
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
double get(int index)
double dotProduct(DoubleList list)
int binarySearch(double value)
int lastIndexOf(double value)
DoubleList select(DoublePredicate predicate)
select
in interface DoubleIterable
select
in interface OrderedDoubleIterable
select
in interface ReversibleDoubleIterable
DoubleList reject(DoublePredicate predicate)
reject
in interface DoubleIterable
reject
in interface OrderedDoubleIterable
reject
in interface ReversibleDoubleIterable
<V> ListIterable<V> collect(DoubleToObjectFunction<? extends V> function)
collect
in interface DoubleIterable
collect
in interface OrderedDoubleIterable
collect
in interface ReversibleDoubleIterable
boolean equals(Object o)
List.equals(Object)
.int hashCode()
List.hashCode()
.ImmutableDoubleList toImmutable()
DoubleList distinct()
distinct
in interface ReversibleDoubleIterable
DoubleList toReversed()
toReversed
in interface ReversibleDoubleIterable
DoubleList subList(int fromIndex, int toIndex)
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.