Interface PartitionMutableStack<T>

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

public interface PartitionMutableStack<T>
extends PartitionStack<T>
A PartitionMutableStack is the result of splitting a mutable stack into two mutable stacks 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.