FloatIterable
, PrimitiveIterable
ImmutableFloatBag
, ImmutableFloatList
, ImmutableFloatSet
AbstractImmutableFloatSet
public interface ImmutableFloatCollection extends FloatIterable
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableCollection<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.
|
ImmutableFloatCollection |
newWith(float element) |
|
ImmutableFloatCollection |
newWithAll(FloatIterable elements) |
|
ImmutableFloatCollection |
newWithout(float element) |
|
ImmutableFloatCollection |
newWithoutAll(FloatIterable elements) |
|
ImmutableFloatCollection |
reject(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
ImmutableFloatCollection |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default ImmutableFloatCollection |
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
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
<V> ImmutableCollection<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
default ImmutableFloatCollection tap(FloatProcedure procedure)
tap
in interface FloatIterable
ImmutableFloatCollection select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
ImmutableFloatCollection reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
ImmutableFloatCollection newWith(float element)
ImmutableFloatCollection newWithout(float element)
ImmutableFloatCollection newWithAll(FloatIterable elements)
ImmutableFloatCollection newWithoutAll(FloatIterable elements)
Copyright © 2004–2020. All rights reserved.