public interface ImmutableDoubleSet extends ImmutableDoubleCollection, DoubleSet
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableSet<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.
|
default ImmutableDoubleSet |
difference(DoubleSet set)
Returns the set of all members of
this that are not members of set. |
default ImmutableDoubleSet |
intersect(DoubleSet set)
Returns the set of all objects that are members of both
this and set. |
ImmutableDoubleSet |
newWith(double element) |
ImmutableDoubleSet |
newWithAll(DoubleIterable elements) |
ImmutableDoubleSet |
newWithout(double element) |
ImmutableDoubleSet |
newWithoutAll(DoubleIterable elements) |
ImmutableDoubleSet |
reject(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
ImmutableDoubleSet |
select(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
default ImmutableDoubleSet |
symmetricDifference(DoubleSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default ImmutableDoubleSet |
tap(DoubleProcedure procedure) |
default ImmutableDoubleSet |
union(DoubleSet set) |
cartesianProduct, equals, freeze, hashCode, isProperSubsetOf, isSubsetOf, toImmutableallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableDoubleSet select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableselect in interface DoubleSetselect in interface ImmutableDoubleCollectionImmutableDoubleSet reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterablereject in interface DoubleSetreject in interface ImmutableDoubleCollectiondefault ImmutableDoubleSet tap(DoubleProcedure procedure)
tap in interface DoubleIterabletap in interface DoubleSettap in interface ImmutableDoubleCollection<V> ImmutableSet<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterablecollect in interface DoubleSetcollect in interface ImmutableDoubleCollectiondefault ImmutableDoubleSet union(DoubleSet set)
default ImmutableDoubleSet intersect(DoubleSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].default ImmutableDoubleSet difference(DoubleSet set)
this that are not members of set. The difference of
[1, 2, 3] and [2, 3, 4] is [1].difference in interface DoubleSetdefault ImmutableDoubleSet symmetricDifference(DoubleSet set)
this and set (elements which
are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric
difference set is [1, 4] . It is the set difference of the union and the intersection.symmetricDifference in interface DoubleSetImmutableDoubleSet newWith(double element)
newWith in interface ImmutableDoubleCollectionImmutableDoubleSet newWithout(double element)
newWithout in interface ImmutableDoubleCollectionImmutableDoubleSet newWithAll(DoubleIterable elements)
newWithAll in interface ImmutableDoubleCollectionImmutableDoubleSet newWithoutAll(DoubleIterable elements)
newWithoutAll in interface ImmutableDoubleCollectionCopyright © 2004–2022. All rights reserved.