public interface FloatSet extends FloatIterable
| Modifier and Type | Method and Description |
|---|---|
<V> SetIterable<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.
|
boolean |
equals(Object o)
Follows the same general contract as
Set.equals(Object). |
FloatSet |
freeze()
Returns a frozen copy of this set.
|
int |
hashCode()
Follows the same general contract as
Set.hashCode(). |
FloatSet |
intersect(FloatSet set)
Returns the set of all objects that are members of both
this and set. |
FloatSet |
reject(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
FloatSet |
select(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default FloatSet |
tap(FloatProcedure procedure) |
ImmutableFloatSet |
toImmutable()
Returns an immutable copy of this set.
|
FloatSet |
union(FloatSet set) |
allSatisfy, 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, toStringdefault FloatSet tap(FloatProcedure procedure)
tap in interface FloatIterableFloatSet intersect(FloatSet set)
this and set. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3].boolean equals(Object o)
Set.equals(Object).int hashCode()
Set.hashCode().FloatSet select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableFloatSet reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterable<V> SetIterable<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterableFloatSet freeze()
ImmutableFloatSet toImmutable()
Copyright © 2004–2020. All rights reserved.