Interface PartitionImmutableStack<T>

All Superinterfaces:
PartitionIterable<T>, PartitionOrderedIterable<T>, PartitionStack<T>
All Known Implementing Classes:

public interface PartitionImmutableStack<T>
extends PartitionStack<T>
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.