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

public Interface ReversibleBooleanIterable

extends OrderedBooleanIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.BooleanList
Imports
org.eclipse.collections.api.LazyBooleanIterable, org.eclipse.collections.api.block.function.primitive.BooleanIntToObjectFunction, .BooleanToObjectFunction, .ObjectBooleanIntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BooleanIntPredicate, .BooleanPredicate, 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 LazyBooleanIterable
public <V> ReversibleIterable<V>
collect(BooleanToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterable.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(BooleanIntToObjectFunction<? extends V> function)

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

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

public ReversibleBooleanIterable
public boolean
public <T> T
public ReversibleBooleanIterable
reject(BooleanPredicate predicate)

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

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

public default ReversibleBooleanIterable
rejectWithIndex(BooleanIntPredicate predicate)

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

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

public ReversibleBooleanIterable
select(BooleanPredicate predicate)

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

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

public default ReversibleBooleanIterable
selectWithIndex(BooleanIntPredicate predicate)

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

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

public ReversibleBooleanIterable
Inherited from org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterable:
collectWithIndexforEachWithIndexgetFirstindexOfrejectWithIndexselectWithIndextoStack

Method Detail

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

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

Doc from org.eclipse.collections.api.BooleanIterable.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(BooleanIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterable.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 ReversibleBooleanIterable distinct()
Since
6.0.
getLastback to summary
public boolean getLast()
injectIntoWithIndexback to summary
public <T> T injectIntoWithIndex(T injectedValue, ObjectBooleanIntToObjectFunction<? super T, ? extends T> function)

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

Annotations
@Override
rejectback to summary
public ReversibleBooleanIterable reject(BooleanPredicate predicate)

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

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

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

Annotations
@Override
rejectWithIndexback to summary
public default ReversibleBooleanIterable rejectWithIndex(BooleanIntPredicate predicate)

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

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

Annotations
@Override
Since
11.1.
selectback to summary
public ReversibleBooleanIterable select(BooleanPredicate predicate)

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

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

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

Annotations
@Override
selectWithIndexback to summary
public default ReversibleBooleanIterable selectWithIndex(BooleanIntPredicate predicate)

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

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

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