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

public Interface ReversibleFloatIterable

extends OrderedFloatIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.FloatList
Imports
org.eclipse.collections.api.LazyFloatIterable, org.eclipse.collections.api.block.function.primitive.FloatIntToObjectFunction, .FloatToObjectFunction, .ObjectFloatIntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatIntPredicate, .FloatPredicate, org.eclipse.collections.api.ordered.ReversibleIterable

This file was automatically generated from template file reversiblePrimitiveIterable.stg.
Since
5.0.

Method Summary

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

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.collect.

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

public default <V> ReversibleIterable<V>
collectWithIndex(FloatIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.collectWithIndex.

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

public ReversibleFloatIterable
public float
public <T> T
public ReversibleFloatIterable
reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.reject.

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

public default ReversibleFloatIterable
rejectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.rejectWithIndex.

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

public ReversibleFloatIterable
select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.select.

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

public default ReversibleFloatIterable
selectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.selectWithIndex.

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

public ReversibleFloatIterable
Inherited from org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable:
collectWithIndexforEachWithIndexgetFirstindexOfrejectWithIndexselectWithIndextoStack

Method Detail

asReversedback to summary
public LazyFloatIterable asReversed()
collectback to summary
public <V> ReversibleIterable<V> collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.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> ReversibleIterable<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.collectWithIndex.

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

Annotations
@Override
Since
9.1.
distinctback to summary
public ReversibleFloatIterable distinct()
Since
6.0.
getLastback to summary
public float getLast()
injectIntoWithIndexback to summary
public <T> T injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T, ? extends T> function)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.injectIntoWithIndex.

Annotations
@Override
rejectback to summary
public ReversibleFloatIterable reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.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 ReversibleFloatIterable rejectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.rejectWithIndex.

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

Annotations
@Override
Since
11.1.
selectback to summary
public ReversibleFloatIterable select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.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 ReversibleFloatIterable selectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable.selectWithIndex.

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

Annotations
@Override
Since
11.1.
toReversedback to summary
public ReversibleFloatIterable toReversed()