DoubleIterable
, DoubleList
, ImmutableDoubleCollection
, OrderedDoubleIterable
, PrimitiveIterable
, ReversibleDoubleIterable
public interface ImmutableDoubleList extends ImmutableDoubleCollection, DoubleList
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableList<V> |
collect(DoubleToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableDoubleList |
distinct() |
|
ImmutableDoubleList |
newWith(double element) |
|
ImmutableDoubleList |
newWithAll(DoubleIterable elements) |
|
ImmutableDoubleList |
newWithout(double element) |
|
ImmutableDoubleList |
newWithoutAll(DoubleIterable elements) |
|
ImmutableDoubleList |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
ImmutableDoubleList |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
ImmutableDoubleList |
subList(int fromIndex,
int toIndex) |
|
default ImmutableDoubleList |
tap(DoubleProcedure procedure) |
|
ImmutableDoubleList |
toReversed() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutable
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
ImmutableDoubleList select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
select
in interface DoubleList
select
in interface ImmutableDoubleCollection
select
in interface OrderedDoubleIterable
select
in interface ReversibleDoubleIterable
ImmutableDoubleList reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
reject
in interface DoubleList
reject
in interface ImmutableDoubleCollection
reject
in interface OrderedDoubleIterable
reject
in interface ReversibleDoubleIterable
default ImmutableDoubleList tap(DoubleProcedure procedure)
tap
in interface DoubleIterable
tap
in interface DoubleList
tap
in interface ImmutableDoubleCollection
<V> ImmutableList<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
collect
in interface DoubleList
collect
in interface ImmutableDoubleCollection
collect
in interface OrderedDoubleIterable
collect
in interface ReversibleDoubleIterable
ImmutableDoubleList newWith(double element)
newWith
in interface ImmutableDoubleCollection
ImmutableDoubleList newWithout(double element)
newWithout
in interface ImmutableDoubleCollection
ImmutableDoubleList newWithAll(DoubleIterable elements)
newWithAll
in interface ImmutableDoubleCollection
ImmutableDoubleList newWithoutAll(DoubleIterable elements)
newWithoutAll
in interface ImmutableDoubleCollection
ImmutableDoubleList toReversed()
toReversed
in interface DoubleList
toReversed
in interface ReversibleDoubleIterable
ImmutableDoubleList distinct()
distinct
in interface DoubleList
distinct
in interface ReversibleDoubleIterable
ImmutableDoubleList subList(int fromIndex, int toIndex)
subList
in interface DoubleList
List.subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.