Package org.eclipse.collections.api.partition.bag
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
.
-
ClassDescriptionPartitionBag<T>A PartitionBag is the result of splitting a bag into two Bags based on a Predicate.A PartitionImmutableBag is the result of splitting an immutable bag into two immutable bags based on a Predicate.A PartitionImmutableBagIterable is the result of splitting a mutable bag into two ImmutableBagIterables based on a Predicate.A PartitionMutableBag is the result of splitting a mutable bag into two mutable bags based on a Predicate.A PartitionMutableBagIterable is the result of splitting a mutable bag into two MutableBagIterables based on a Predicate.