Interface PartitionMutableBag<T>

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

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.