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

public Interface ImmutableBooleanStack

extends BooleanStack
Imports
org.eclipse.collections.api.block.function.primitive.BooleanIntToObjectFunction, .BooleanToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BooleanIntPredicate, .BooleanPredicate, org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure, 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(BooleanToObjectFunction<? extends V> function)

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

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

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

public ImmutableBooleanStack
pop()

public ImmutableBooleanStack
pop(int count)

public ImmutableBooleanStack
push(boolean item)

public ImmutableBooleanStack
reject(BooleanPredicate predicate)

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

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

public default ImmutableBooleanStack
rejectWithIndex(BooleanIntPredicate predicate)

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

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

public ImmutableBooleanStack
select(BooleanPredicate predicate)

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

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

public default ImmutableBooleanStack
selectWithIndex(BooleanIntPredicate predicate)

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

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

public default ImmutableBooleanStack
Inherited from org.eclipse.collections.api.stack.primitive.BooleanStack:
equalshashCodepeekpeekpeekAttoImmutable

Method Detail

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

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

Overrides default org.eclipse.collections.api.stack.primitive.BooleanStack.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 ImmutableBooleanStack pop()
popback to summary
public ImmutableBooleanStack pop(int count)
pushback to summary
public ImmutableBooleanStack push(boolean item)
rejectback to summary
public ImmutableBooleanStack reject(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.stack.primitive.BooleanStack.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 ImmutableBooleanStack rejectWithIndex(BooleanIntPredicate predicate)

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

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

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

Redeclares org.eclipse.collections.api.stack.primitive.BooleanStack.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 ImmutableBooleanStack selectWithIndex(BooleanIntPredicate predicate)

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

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

Annotations
@Override
Since
11.1.
tapback to summary
public default ImmutableBooleanStack tap(BooleanProcedure procedure)

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

Annotations
@Override
Since
9.0.