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

public Interface ReversibleByteIterable

extends OrderedByteIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ByteList
Imports
org.eclipse.collections.api.LazyByteIterable, org.eclipse.collections.api.block.function.primitive.ByteIntToObjectFunction, .ByteToObjectFunction, .ObjectByteIntToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ByteIntPredicate, .BytePredicate, 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 LazyByteIterable
public <V> ReversibleIterable<V>
collect(ByteToObjectFunction<? extends V> function)

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

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

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

public ReversibleByteIterable
public byte
public <T> T
public ReversibleByteIterable
reject(BytePredicate predicate)

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

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

public default ReversibleByteIterable
rejectWithIndex(ByteIntPredicate predicate)

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

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

public ReversibleByteIterable
select(BytePredicate predicate)

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

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

public default ReversibleByteIterable
selectWithIndex(ByteIntPredicate predicate)

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

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

public ReversibleByteIterable
Inherited from org.eclipse.collections.api.ordered.primitive.OrderedByteIterable:
collectWithIndexforEachWithIndexgetFirstindexOfrejectWithIndexselectWithIndextoStack

Method Detail

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

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

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

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

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

Annotations
@Override
rejectback to summary
public ReversibleByteIterable reject(BytePredicate predicate)

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

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

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

Annotations
@Override
rejectWithIndexback to summary
public default ReversibleByteIterable rejectWithIndex(ByteIntPredicate predicate)

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

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

Annotations
@Override
Since
11.1.
selectback to summary
public ReversibleByteIterable select(BytePredicate predicate)

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

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

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

Annotations
@Override
selectWithIndexback to summary
public default ReversibleByteIterable selectWithIndex(ByteIntPredicate predicate)

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

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

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