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

public Interface ImmutableByteStack

extends ByteStack
Imports
org.eclipse.collections.api.block.function.primitive.ByteIntToObjectFunction, .ByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.ByteIntPredicate, .BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.stack.ImmutableStack

This file was automatically generated from template file immutablePrimitiveStack.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableStack<V>
collect(ByteToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.stack.primitive.ByteStack.collect.

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

public default <V> ImmutableStack<V>
collectWithIndex(ByteIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.collectWithIndex.

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

public ImmutableByteStack
pop()

public ImmutableByteStack
pop(int count)

public ImmutableByteStack
push(byte item)

public ImmutableByteStack
reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.stack.primitive.ByteStack.reject.

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

public default ImmutableByteStack
rejectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.rejectWithIndex.

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

public ImmutableByteStack
select(BytePredicate predicate)

Redeclares org.eclipse.collections.api.stack.primitive.ByteStack.select.

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

public default ImmutableByteStack
selectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.selectWithIndex.

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

public default ImmutableByteStack
Inherited from org.eclipse.collections.api.stack.primitive.ByteStack:
equalshashCodepeekpeekpeekAttoImmutable

Method Detail

collectback to summary
public <V> ImmutableStack<V> collect(ByteToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.stack.primitive.ByteStack.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> ImmutableStack<V> collectWithIndex(ByteIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.collectWithIndex.

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

Annotations
@Override
Since
9.1.
popback to summary
public ImmutableByteStack pop()
popback to summary
public ImmutableByteStack pop(int count)
pushback to summary
public ImmutableByteStack push(byte item)
rejectback to summary
public ImmutableByteStack reject(BytePredicate predicate)

Redeclares org.eclipse.collections.api.stack.primitive.ByteStack.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 ImmutableByteStack rejectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.rejectWithIndex.

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

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

Redeclares org.eclipse.collections.api.stack.primitive.ByteStack.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 ImmutableByteStack selectWithIndex(ByteIntPredicate predicate)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.selectWithIndex.

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

Annotations
@Override
Since
11.1.
tapback to summary
public default ImmutableByteStack tap(ByteProcedure procedure)

Overrides default org.eclipse.collections.api.stack.primitive.ByteStack.tap.

Annotations
@Override
Since
9.0.