DoubleIterable, PrimitiveIterableImmutableDoubleBag, ImmutableDoubleList, ImmutableDoubleSetAbstractImmutableDoubleSetpublic interface ImmutableDoubleCollection extends DoubleIterable
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableCollection<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.
|
ImmutableDoubleCollection |
newWith(double element) |
|
ImmutableDoubleCollection |
newWithAll(DoubleIterable elements) |
|
ImmutableDoubleCollection |
newWithout(double element) |
|
ImmutableDoubleCollection |
newWithoutAll(DoubleIterable elements) |
|
ImmutableDoubleCollection |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
ImmutableDoubleCollection |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
default ImmutableDoubleCollection |
tap(DoubleProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString<V> ImmutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterabledefault ImmutableDoubleCollection tap(DoubleProcedure procedure)
tap in interface DoubleIterableImmutableDoubleCollection select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableImmutableDoubleCollection reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterableImmutableDoubleCollection newWith(double element)
ImmutableDoubleCollection newWithout(double element)
ImmutableDoubleCollection newWithAll(DoubleIterable elements)
ImmutableDoubleCollection newWithoutAll(DoubleIterable elements)
Copyright © 2004–2018. All rights reserved.