Interface PartitionImmutableBagIterable<T>

All Superinterfaces:
PartitionBag<T>, PartitionImmutableCollection<T>, PartitionIterable<T>
All Known Subinterfaces:
PartitionImmutableBag<T>, PartitionImmutableSortedBag<T>
All Known Implementing Classes:
PartitionImmutableBagImpl, PartitionImmutableSortedBagImpl

public interface PartitionImmutableBagIterable<T>
extends PartitionImmutableCollection<T>, PartitionBag<T>
A PartitionImmutableBagIterable is the result of splitting a mutable bag into two ImmutableBagIterables 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.