Top Description Methods
org.eclipse.collections.api.collection.primitive

public Interface ImmutableFloatCollection

extends FloatIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableFloatList, org.eclipse.collections.api.set.primitive.ImmutableFloatSet, org.eclipse.collections.api.bag.primitive.ImmutableFloatBag
Imports
org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.api.collection.ImmutableCollection

This file was automatically generated from template file immutablePrimitiveCollection.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableCollection<V>
collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.FloatIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public ImmutableFloatCollection
newWith(float element)

public ImmutableFloatCollection
public ImmutableFloatCollection
newWithout(float element)

public ImmutableFloatCollection
public ImmutableFloatCollection
reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.FloatIterable.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

public ImmutableFloatCollection
select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.FloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

public default ImmutableFloatCollection
Inherited from org.eclipse.collections.api.FloatIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptychunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectfloatIteratorforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

collectback to summary
public <V> ImmutableCollection<V> collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.FloatIterable.collect.

Doc from org.eclipse.collections.api.FloatIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
newWithback to summary
public ImmutableFloatCollection newWith(float element)
newWithAllback to summary
public ImmutableFloatCollection newWithAll(FloatIterable elements)
newWithoutback to summary
public ImmutableFloatCollection newWithout(float element)
newWithoutAllback to summary
public ImmutableFloatCollection newWithoutAll(FloatIterable elements)
rejectback to summary
public ImmutableFloatCollection reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.FloatIterable.reject.

Doc from org.eclipse.collections.api.FloatIterable.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

Annotations
@Override
selectback to summary
public ImmutableFloatCollection select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.FloatIterable.select.

Doc from org.eclipse.collections.api.FloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

Annotations
@Override
tapback to summary
public default ImmutableFloatCollection tap(FloatProcedure procedure)

Overrides default org.eclipse.collections.api.FloatIterable.tap.

Annotations
@Override
Since
9.0.