Interface PartitionImmutableCollection<T>

All Superinterfaces:
PartitionIterable<T>
All Known Subinterfaces:
PartitionImmutableBag<T>, PartitionImmutableBagIterable<T>, PartitionImmutableList<T>, PartitionImmutableSet<T>, PartitionImmutableSetIterable<T>, PartitionImmutableSortedBag<T>, PartitionImmutableSortedSet<T>
All Known Implementing Classes:
PartitionImmutableBagImpl, PartitionImmutableListImpl, PartitionImmutableSetImpl, PartitionImmutableSortedBagImpl, PartitionImmutableSortedSetImpl

public interface PartitionImmutableCollection<T> extends PartitionIterable<T>
A PartitionImmutableCollection is the result of splitting an immutable collection into two immutable 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.