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

public Interface PartitionImmutableBag<T>

extends PartitionImmutableBagIterable<T>, PartitionUnsortedBag<T>
Imports
org.eclipse.collections.api.bag.ImmutableBag

A PartitionImmutableBag is the result of splitting an immutable bag into two immutable 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 ImmutableBag<T>
public ImmutableBag<T>

Method Detail

getRejectedback to summary
public ImmutableBag<T> getRejected()

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

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

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

Annotations
@Override