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

public Interface PartitionMutableList<T>

extends PartitionMutableCollection<T>, PartitionList<T>
Imports
org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.partition.PartitionMutableCollection

A PartitionMutableList is the result of splitting a mutable list into two mutable lists 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 MutableList<T>
public MutableList<T>
public PartitionImmutableList<T>

Method Detail

getRejectedback to summary
public MutableList<T> getRejected()

Redeclares org.eclipse.collections.api.partition.PartitionMutableCollection.getRejected, org.eclipse.collections.api.partition.list.PartitionList.getRejected.

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

Redeclares org.eclipse.collections.api.partition.PartitionMutableCollection.getSelected, org.eclipse.collections.api.partition.list.PartitionList.getSelected.

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

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

Annotations
@Override