Top Description Methods
org.eclipse.collections.api.partition.bag

public Interface PartitionMutableBag<T>

extends PartitionMutableBagIterable<T>, PartitionUnsortedBag<T>
Imports
org.eclipse.collections.api.bag.MutableBag

A PartitionMutableBag is the result of splitting a mutable bag into two mutable bags 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.

Method Summary

Modifier and TypeMethod and Description
public MutableBag<T>
public MutableBag<T>
public PartitionImmutableBag<T>

Method Detail

getRejectedback to summary
public MutableBag<T> getRejected()

Redeclares org.eclipse.collections.api.partition.bag.PartitionMutableBagIterable.getRejected, org.eclipse.collections.api.partition.bag.PartitionUnsortedBag.getRejected.

Annotations
@Override
getSelectedback to summary
public MutableBag<T> getSelected()

Redeclares org.eclipse.collections.api.partition.bag.PartitionMutableBagIterable.getSelected, org.eclipse.collections.api.partition.bag.PartitionUnsortedBag.getSelected.

Annotations
@Override
toImmutableback to summary
public PartitionImmutableBag<T> toImmutable()

Redeclares org.eclipse.collections.api.partition.bag.PartitionMutableBagIterable.toImmutable.

Annotations
@Override