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

public Interface PartitionList<T>

extends PartitionReversibleIterable<T>
Known Direct Subinterfaces
org.eclipse.collections.api.partition.list.PartitionMutableList, org.eclipse.collections.api.partition.list.PartitionImmutableList
Imports
org.eclipse.collections.api.list.ListIterable, org.eclipse.collections.api.partition.ordered.PartitionReversibleIterable

A PartitionList is the result of splitting a ListIterable into two ListIterables 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 ListIterable<T>
public ListIterable<T>

Method Detail

getRejectedback to summary
public ListIterable<T> getRejected()

Redeclares org.eclipse.collections.api.partition.ordered.PartitionReversibleIterable.getRejected.

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

Redeclares org.eclipse.collections.api.partition.ordered.PartitionReversibleIterable.getSelected.

Annotations
@Override