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

public Interface PartitionMutableBagIterable<T>

extends PartitionMutableCollection<T>, PartitionBag<T>
Known Direct Subinterfaces
org.eclipse.collections.api.partition.bag.sorted.PartitionMutableSortedBag, org.eclipse.collections.api.partition.bag.PartitionMutableBag
Imports
org.eclipse.collections.api.bag.MutableBagIterable, org.eclipse.collections.api.partition.PartitionMutableCollection

A PartitionMutableBagIterable is the result of splitting a mutable bag into two MutableBagIterables 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 MutableBagIterable<T>
public MutableBagIterable<T>
public PartitionImmutableBagIterable<T>

Method Detail

getRejectedback to summary
public MutableBagIterable<T> getRejected()

Redeclares org.eclipse.collections.api.partition.PartitionMutableCollection.getRejected, org.eclipse.collections.api.partition.bag.PartitionBag.getRejected.

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

Redeclares org.eclipse.collections.api.partition.PartitionMutableCollection.getSelected, org.eclipse.collections.api.partition.bag.PartitionBag.getSelected.

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

Redeclares org.eclipse.collections.api.partition.PartitionMutableCollection.toImmutable.

Annotations
@Override