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 |
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 |
tap(FloatProcedure procedure) |
default ImmutableFloatSet |
union(FloatSet set) |
equals, freeze, hashCode, toImmutableallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, 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].ImmutableFloatSet 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–2020. All rights reserved.