Interface PartitionImmutableBag<T>

All Superinterfaces:
PartitionBag<T>, PartitionImmutableBagIterable<T>, PartitionImmutableCollection<T>, PartitionIterable<T>, PartitionUnsortedBag<T>
All Known Implementing Classes:
PartitionImmutableBagImpl

public interface PartitionImmutableBag<T> extends PartitionImmutableBagIterable<T>, PartitionUnsortedBag<T>
A PartitionImmutableBag is the result of splitting an immutable bag into two immutable 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.