Interface PartitionMutableCollection<T>

All Superinterfaces:
PartitionIterable<T>
All Known Subinterfaces:
PartitionMutableBag<T>, PartitionMutableBagIterable<T>, PartitionMutableList<T>, PartitionMutableSet<T>, PartitionMutableSetIterable<T>, PartitionMutableSortedBag<T>, PartitionMutableSortedSet<T>
All Known Implementing Classes:
PartitionFastList, PartitionHashBag, PartitionTreeBag, PartitionTreeSortedSet, PartitionUnifiedSet, PartitionUnifiedSetWithHashingStrategy

public interface PartitionMutableCollection<T> extends PartitionIterable<T>
A PartitionMutableCollection is the result of splitting a mutable collection into two mutable collections 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.