public class PartitionArrayStack<T>
extends java.lang.Object
implements com.gs.collections.api.partition.stack.PartitionMutableStack<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionArrayStack.PartitionProcedure<T> |
| Constructor and Description |
|---|
PartitionArrayStack(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T t) |
com.gs.collections.api.stack.MutableStack<T> |
getRejected() |
com.gs.collections.api.stack.MutableStack<T> |
getSelected() |
com.gs.collections.api.partition.stack.PartitionImmutableStack<T> |
toImmutable() |
public PartitionArrayStack(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
public com.gs.collections.api.stack.MutableStack<T> getSelected()
public com.gs.collections.api.stack.MutableStack<T> getRejected()
public com.gs.collections.api.partition.stack.PartitionImmutableStack<T> toImmutable()
toImmutable in interface com.gs.collections.api.partition.stack.PartitionMutableStack<T>