DoubleIterable
, PrimitiveIterable
ImmutableDoubleBag
, ImmutableDoubleList
, ImmutableDoubleSet
AbstractImmutableDoubleSet
public 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.
|
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
<V> ImmutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
ImmutableDoubleCollection select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
ImmutableDoubleCollection reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
ImmutableDoubleCollection newWith(double element)
ImmutableDoubleCollection newWithout(double element)
ImmutableDoubleCollection newWithAll(DoubleIterable elements)
ImmutableDoubleCollection newWithoutAll(DoubleIterable elements)
Copyright © 2004–2017. All rights reserved.