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

public Interface PartitionMutableStack<T>

extends PartitionStack<T>
Imports
org.eclipse.collections.api.stack.MutableStack

A PartitionMutableStack is the result of splitting a mutable stack into two mutable stacks 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 void
add(T t)
Deprecated in 5.0

public MutableStack<T>
public MutableStack<T>
public PartitionImmutableStack<T>

Method Detail

addback to summary
public void add(T t)

Deprecated

in 5.0

Annotations
@Deprecated
getRejectedback to summary
public MutableStack<T> getRejected()

Redeclares org.eclipse.collections.api.partition.stack.PartitionStack.getRejected.

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

Redeclares org.eclipse.collections.api.partition.stack.PartitionStack.getSelected.

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