| 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. |
| Modifier and Type | Method and Description |
|---|---|
PartitionImmutableBag<T> |
ImmutableBag.partition(Predicate<? super T> predicate) |
<P> PartitionImmutableBag<T> |
ImmutableBag.partitionWith(Predicate2<? super T,? super P> predicate,
P parameter) |
| Modifier and Type | Method and Description |
|---|---|
PartitionImmutableBag<T> |
PartitionMutableBag.toImmutable() |