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

public Interface ReversibleCharIterable

extends OrderedCharIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.CharList
Imports
org.eclipse.collections.api.LazyCharIterable, org.eclipse.collections.api.block.function.primitive.CharIntToObjectFunction, .CharToObjectFunction, .ObjectCharIntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.CharIntPredicate, .CharPredicate, 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 LazyCharIterable
public <V> ReversibleIterable<V>
collect(CharToObjectFunction<? extends V> function)

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

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

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

public ReversibleCharIterable
public char
public <T> T
public ReversibleCharIterable
reject(CharPredicate predicate)

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

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

public default ReversibleCharIterable
rejectWithIndex(CharIntPredicate predicate)

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

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

public ReversibleCharIterable
select(CharPredicate predicate)

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

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

public default ReversibleCharIterable
selectWithIndex(CharIntPredicate predicate)

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

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

public ReversibleCharIterable
Inherited from org.eclipse.collections.api.ordered.primitive.OrderedCharIterable:
collectWithIndexforEachWithIndexgetFirstindexOfrejectWithIndexselectWithIndextoStack

Method Detail

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

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

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

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

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

Annotations
@Override
rejectback to summary
public ReversibleCharIterable reject(CharPredicate predicate)

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

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

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

Annotations
@Override
rejectWithIndexback to summary
public default ReversibleCharIterable rejectWithIndex(CharIntPredicate predicate)

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

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

Annotations
@Override
Since
11.1.
selectback to summary
public ReversibleCharIterable select(CharPredicate predicate)

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

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

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

Annotations
@Override
selectWithIndexback to summary
public default ReversibleCharIterable selectWithIndex(CharIntPredicate predicate)

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

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

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