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

public Interface PartitionImmutableCollection<T>

extends PartitionIterable<T>
Known Direct Subinterfaces
org.eclipse.collections.api.partition.bag.PartitionImmutableBagIterable, org.eclipse.collections.api.partition.list.PartitionImmutableList, org.eclipse.collections.api.partition.set.PartitionImmutableSetIterable
Imports
org.eclipse.collections.api.collection.ImmutableCollection

A PartitionImmutableCollection is the result of splitting an immutable collection into two immutable 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 ImmutableCollection<T>
public ImmutableCollection<T>

Method Detail

getRejectedback to summary
public ImmutableCollection<T> getRejected()

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

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

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

Annotations
@Override