| Package | Description |
|---|---|
| com.gs.collections.api.bag |
This package contains interfaces for Bag API.
|
| com.gs.collections.api.partition.bag |
This package contains interfaces for
PartitionBag. |
| com.gs.collections.api.partition.bag.sorted |
This package contains interfaces for
PartitionSortedBag. |
| Modifier and Type | Method and Description |
|---|---|
PartitionBag<T> |
Bag.partition(Predicate<? super T> predicate) |
<P> PartitionBag<T> |
Bag.partitionWith(Predicate2<? super T,? super P> predicate,
P parameter) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PartitionImmutableBag<T>
A PartitionImmutableBag is the result of splitting an immutable bag into two immutable bags based on a Predicate.
|
interface |
PartitionMutableBag<T>
A PartitionMutableBag is the result of splitting a mutable bag into two mutable bags based on a Predicate.
|
interface |
PartitionUnsortedBag<T> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PartitionImmutableSortedBag<T>
A PartitionImmutableSortedBag is the result of splitting an immutable sorted bag into two immutable sorted bags based
on a Predicate.
|
interface |
PartitionMutableSortedBag<T> |
interface |
PartitionSortedBag<T> |