Package org.eclipse.collections.api.partition.bag
This package contains interfaces for
PartitionBag
.
A PartitionBag is the result of splitting a Bag
into two bags based on a Predicate.
This package contains 3 interfaces:
-
PartitionBag
- a read-only PartitionBag API. -
PartitionMutableBag
- a modifiable PartitionBag. -
PartitionImmutableBag
- the non-modifiable equivalent interface toPartitionMutableBag
.
-
Interface Summary Interface Description PartitionBag<T> A PartitionBag is the result of splitting a bag into two Bags based on a Predicate.PartitionImmutableBag<T> A PartitionImmutableBag is the result of splitting an immutable bag into two immutable bags based on a Predicate.PartitionImmutableBagIterable<T> A PartitionImmutableBagIterable is the result of splitting a mutable bag into two ImmutableBagIterables based on a Predicate.PartitionMutableBag<T> A PartitionMutableBag is the result of splitting a mutable bag into two mutable bags based on a Predicate.PartitionMutableBagIterable<T> A PartitionMutableBagIterable is the result of splitting a mutable bag into two MutableBagIterables based on a Predicate.PartitionUnsortedBag<T>