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

public Interface PartitionImmutableStack<T>

extends PartitionStack<T>
Imports
org.eclipse.collections.api.stack.ImmutableStack

A PartitionImmutableStack is the result of splitting an immutable stack into two immutable stacks based on a Predicate. The results that answer true for the Predicate will be returned from the getSelected() method and the results that answer false for the predicate will be returned from the getRejected() method.

Method Summary

Modifier and TypeMethod and Description
public ImmutableStack<T>
public ImmutableStack<T>

Method Detail

getRejectedback to summary
public ImmutableStack<T> getRejected()

Redeclares org.eclipse.collections.api.partition.stack.PartitionStack.getRejected.

Annotations
@Override
getSelectedback to summary
public ImmutableStack<T> getSelected()

Redeclares org.eclipse.collections.api.partition.stack.PartitionStack.getSelected.

Annotations
@Override