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

public Interface PartitionMutableSet<T>

extends PartitionUnsortedSet<T>, PartitionMutableSetIterable<T>
Imports
org.eclipse.collections.api.set.MutableSet

A PartitionMutableSet is the result of splitting a mutable set into two mutable sets 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 MutableSet<T>
public MutableSet<T>
public PartitionImmutableSet<T>

Method Detail

getRejectedback to summary
public MutableSet<T> getRejected()

Redeclares org.eclipse.collections.api.partition.set.PartitionUnsortedSet.getRejected, org.eclipse.collections.api.partition.set.PartitionMutableSetIterable.getRejected.

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

Redeclares org.eclipse.collections.api.partition.set.PartitionUnsortedSet.getSelected, org.eclipse.collections.api.partition.set.PartitionMutableSetIterable.getSelected.

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

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

Annotations
@Override