Interface PartitionMutableBag<T>

All Superinterfaces:
PartitionBag<T>, PartitionIterable<T>, PartitionMutableBagIterable<T>, PartitionMutableCollection<T>, PartitionUnsortedBag<T>
All Known Implementing Classes:

public interface PartitionMutableBag<T> extends PartitionMutableBagIterable<T>, PartitionUnsortedBag<T>
A PartitionMutableBag is the result of splitting a mutable bag into two mutable 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.