public interface ImmutableFloatSet extends ImmutableFloatCollection, FloatSet
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableSet<V> |
collect(FloatToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default ImmutableFloatSet |
difference(FloatSet set)
Returns the set of all members of
this that are not members of set. |
default ImmutableFloatSet |
intersect(FloatSet set)
Returns the set of all objects that are members of both
this and set. |
ImmutableFloatSet |
newWith(float element) |
ImmutableFloatSet |
newWithAll(FloatIterable elements) |
ImmutableFloatSet |
newWithout(float element) |
ImmutableFloatSet |
newWithoutAll(FloatIterable elements) |
ImmutableFloatSet |
reject(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
ImmutableFloatSet |
select(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default ImmutableFloatSet |
symmetricDifference(FloatSet 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 ImmutableFloatSet |
tap(FloatProcedure procedure) |
default ImmutableFloatSet |
union(FloatSet 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, each, flatCollect, floatIterator, 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, toStringImmutableFloatSet select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableselect in interface FloatSetselect in interface ImmutableFloatCollectionImmutableFloatSet reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterablereject in interface FloatSetreject in interface ImmutableFloatCollectiondefault ImmutableFloatSet tap(FloatProcedure procedure)
tap in interface FloatIterabletap in interface FloatSettap in interface ImmutableFloatCollection<V> ImmutableSet<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterablecollect in interface FloatSetcollect in interface ImmutableFloatCollectiondefault ImmutableFloatSet union(FloatSet set)
default ImmutableFloatSet intersect(FloatSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].default ImmutableFloatSet difference(FloatSet set)
this that are not members of set. The difference of
[1, 2, 3] and [2, 3, 4] is [1].difference in interface FloatSetdefault ImmutableFloatSet symmetricDifference(FloatSet 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 FloatSetImmutableFloatSet newWith(float element)
newWith in interface ImmutableFloatCollectionImmutableFloatSet newWithout(float element)
newWithout in interface ImmutableFloatCollectionImmutableFloatSet newWithAll(FloatIterable elements)
newWithAll in interface ImmutableFloatCollectionImmutableFloatSet newWithoutAll(FloatIterable elements)
newWithoutAll in interface ImmutableFloatCollectionCopyright © 2004–2022. All rights reserved.