Interface PartitionStack<T>

All Superinterfaces:
PartitionIterable<T>, PartitionOrderedIterable<T>
All Known Subinterfaces:
PartitionImmutableStack<T>, PartitionMutableStack<T>
All Known Implementing Classes:
PartitionArrayStack, PartitionImmutableStackImpl

public interface PartitionStack<T>
extends PartitionOrderedIterable<T>
A PartitionStack is the result of splitting a StackIterable into two StackIterables 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.