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

public Interface OrderedFloatIterable

extends FloatIterable
Known Direct Subinterfaces
org.eclipse.collections.api.ordered.primitive.ReversibleFloatIterable, org.eclipse.collections.api.stack.primitive.FloatStack
Imports
java.util.Collection, org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.block.function.primitive.FloatIntToObjectFunction, .FloatToObjectFunction, .ObjectFloatIntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatIntPredicate, .FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatIntProcedure, org.eclipse.collections.api.collection.primitive.MutableFloatCollection, org.eclipse.collections.api.ordered.OrderedIterable, org.eclipse.collections.api.stack.primitive.MutableFloatStack

This file was automatically generated from template file orderedPrimitiveIterable.stg.
Since
6.0.

Method Summary

Modifier and TypeMethod and Description
public <V> OrderedIterable<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 default <V> OrderedIterable<V>
collectWithIndex(FloatIntToObjectFunction<? extends V> function)

Returns a new OrderedIterable using results obtained by applying the specified function to each element and its corresponding index.

public default <V, R extends Collection<V>> R
collectWithIndex(FloatIntToObjectFunction<? extends V> function, R target)

Adds elements to the target Collection using results obtained by applying the specified function to each element and its corresponding index.

public void
public float
public int
indexOf(float value)

public <T> T
injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T, ? extends T> function)

public OrderedFloatIterable
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 default OrderedFloatIterable
rejectWithIndex(FloatIntPredicate predicate)

Returns a new OrderedFloatIterable excluding all elements with corresponding indexes matching the specified predicate.

public default <R extends MutableFloatCollection> R
rejectWithIndex(FloatIntPredicate predicate, R target)

Returns a new MutableFloatCollection excluding all elements with corresponding indexes matching the specified predicate.

public OrderedFloatIterable
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 OrderedFloatIterable
selectWithIndex(FloatIntPredicate predicate)

Returns a new OrderedFloatIterable including all elements with corresponding indexes matching the specified predicate.

public default <R extends MutableFloatCollection> R
selectWithIndex(FloatIntPredicate predicate, R target)

Returns a new MutableFloatCollection including all elements with corresponding indexes matching the specified predicate.

public default MutableFloatStack
toStack()

Converts the collection to a FloatStack.

Inherited from org.eclipse.collections.api.FloatIterable:
allSatisfyanySatisfyasLazyaverageaverageIfEmptychunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectfloatIteratorforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortmaxmaxIfEmptymedianmedianIfEmptyminminIfEmptynoneSatisfyreducereduceIfEmptyrejectselectsumsummaryStatisticstaptoArraytoArraytoBagtoListtoSettoSortedArraytoSortedListtoSortedListtoSortedListBytoSortedListBy

Method Detail

collectback to summary
public <V> OrderedIterable<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
collectWithIndexback to summary
public default <V> OrderedIterable<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)

Returns a new OrderedIterable using results obtained by applying the specified function to each element and its corresponding index.

Since
9.1.
collectWithIndexback to summary
public default <V, R extends Collection<V>> R collectWithIndex(FloatIntToObjectFunction<? extends V> function, R target)

Adds elements to the target Collection using results obtained by applying the specified function to each element and its corresponding index.

Since
9.1.
forEachWithIndexback to summary
public void forEachWithIndex(FloatIntProcedure procedure)
getFirstback to summary
public float getFirst()
indexOfback to summary
public int indexOf(float value)
injectIntoWithIndexback to summary
public <T> T injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T, ? extends T> function)
rejectback to summary
public OrderedFloatIterable 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
rejectWithIndexback to summary
public default OrderedFloatIterable rejectWithIndex(FloatIntPredicate predicate)

Returns a new OrderedFloatIterable excluding all elements with corresponding indexes matching the specified predicate.

Since
11.1.
rejectWithIndexback to summary
public default <R extends MutableFloatCollection> R rejectWithIndex(FloatIntPredicate predicate, R target)

Returns a new MutableFloatCollection excluding all elements with corresponding indexes matching the specified predicate.

Since
11.1.
selectback to summary
public OrderedFloatIterable 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
selectWithIndexback to summary
public default OrderedFloatIterable selectWithIndex(FloatIntPredicate predicate)

Returns a new OrderedFloatIterable including all elements with corresponding indexes matching the specified predicate.

Since
11.1.
selectWithIndexback to summary
public default <R extends MutableFloatCollection> R selectWithIndex(FloatIntPredicate predicate, R target)

Returns a new MutableFloatCollection including all elements with corresponding indexes matching the specified predicate.

Since
11.1.
toStackback to summary
public default MutableFloatStack toStack()

Converts the collection to a FloatStack.

Since
12.0.