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

public Interface PartitionMutableCollection<T>

extends PartitionIterable<T>
Known Direct Subinterfaces
org.eclipse.collections.api.partition.bag.PartitionMutableBagIterable, org.eclipse.collections.api.partition.list.PartitionMutableList, org.eclipse.collections.api.partition.set.PartitionMutableSetIterable
Imports
org.eclipse.collections.api.collection.MutableCollection

A PartitionMutableCollection is the result of splitting a mutable collection into two mutable collections 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 MutableCollection<T>
public MutableCollection<T>
public PartitionImmutableCollection<T>

Method Detail

getRejectedback to summary
public MutableCollection<T> getRejected()

Redeclares org.eclipse.collections.api.partition.PartitionIterable.getRejected.

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

Redeclares org.eclipse.collections.api.partition.PartitionIterable.getSelected.

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