FloatIterable
, PrimitiveIterable
ImmutableFloatSet
, MutableFloatSet
AbstractFloatSet
, AbstractImmutableFloatSet
, AbstractMutableFloatKeySet
, FloatHashSet
, SynchronizedFloatSet
, UnmodifiableFloatSet
public interface FloatSet extends FloatIterable
Modifier and Type | Method | 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(java.lang.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 |
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.
|
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
default FloatSet tap(FloatProcedure procedure)
tap
in interface FloatIterable
boolean equals(java.lang.Object o)
Set.equals(Object)
.equals
in class java.lang.Object
int hashCode()
Set.hashCode()
.hashCode
in class java.lang.Object
FloatSet select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
FloatSet reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
<V> SetIterable<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
FloatSet freeze()
ImmutableFloatSet toImmutable()
Copyright © 2004–2017. All rights reserved.