Interface PartitionBag<T>

All Superinterfaces:
PartitionIterable<T>
All Known Subinterfaces:
PartitionImmutableBag<T>, PartitionImmutableBagIterable<T>, PartitionImmutableSortedBag<T>, PartitionMutableBag<T>, PartitionMutableBagIterable<T>, PartitionMutableSortedBag<T>, PartitionSortedBag<T>, PartitionUnsortedBag<T>
All Known Implementing Classes:
PartitionHashBag, PartitionImmutableBagImpl, PartitionImmutableSortedBagImpl, PartitionTreeBag

public interface PartitionBag<T>
extends PartitionIterable<T>
A PartitionBag is the result of splitting a bag into two Bags 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.