FloatIterable
, FloatSet
, ImmutableFloatCollection
, PrimitiveIterable
AbstractImmutableFloatSet
public interface ImmutableFloatSet extends ImmutableFloatCollection, FloatSet
Modifier and Type | Method | 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.
|
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) |
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, toBag, toList, toSet, toSortedArray, toSortedList
equals, freeze, hashCode, toImmutable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
ImmutableFloatSet select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
select
in interface FloatSet
select
in interface ImmutableFloatCollection
ImmutableFloatSet reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
reject
in interface FloatSet
reject
in interface ImmutableFloatCollection
default ImmutableFloatSet tap(FloatProcedure procedure)
tap
in interface FloatIterable
tap
in interface FloatSet
tap
in interface ImmutableFloatCollection
<V> ImmutableSet<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
collect
in interface FloatSet
collect
in interface ImmutableFloatCollection
ImmutableFloatSet newWith(float element)
newWith
in interface ImmutableFloatCollection
ImmutableFloatSet newWithout(float element)
newWithout
in interface ImmutableFloatCollection
ImmutableFloatSet newWithAll(FloatIterable elements)
newWithAll
in interface ImmutableFloatCollection
ImmutableFloatSet newWithoutAll(FloatIterable elements)
newWithoutAll
in interface ImmutableFloatCollection
Copyright © 2004–2019. All rights reserved.