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

public Interface PartitionImmutableBagIterable<T>

extends PartitionImmutableCollection<T>, PartitionBag<T>
Known Direct Subinterfaces
org.eclipse.collections.api.partition.bag.sorted.PartitionImmutableSortedBag, org.eclipse.collections.api.partition.bag.PartitionImmutableBag
Imports
org.eclipse.collections.api.bag.ImmutableBagIterable, org.eclipse.collections.api.partition.PartitionImmutableCollection

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

Method Detail

getRejectedback to summary
public ImmutableBagIterable<T> getRejected()

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

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

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

Annotations
@Override