PartitionOrderedIterable<T>
, PartitionIterable<T>
, PartitionMutableStack<T>
, PartitionStack<T>
public class PartitionArrayStack<T> extends Object implements PartitionMutableStack<T>
Modifier and Type | Class | Description |
---|---|---|
static class |
PartitionArrayStack.PartitionPredicate2Procedure<T,P> |
|
static class |
PartitionArrayStack.PartitionProcedure<T> |
Constructor | Description |
---|---|
PartitionArrayStack() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(T t) |
|
MutableStack<T> |
getRejected() |
|
MutableStack<T> |
getSelected() |
|
PartitionImmutableStack<T> |
toImmutable() |
public MutableStack<T> getSelected()
getSelected
in interface PartitionIterable<T>
getSelected
in interface PartitionMutableStack<T>
getSelected
in interface PartitionOrderedIterable<T>
getSelected
in interface PartitionStack<T>
public MutableStack<T> getRejected()
getRejected
in interface PartitionIterable<T>
getRejected
in interface PartitionMutableStack<T>
getRejected
in interface PartitionOrderedIterable<T>
getRejected
in interface PartitionStack<T>
public PartitionImmutableStack<T> toImmutable()
toImmutable
in interface PartitionMutableStack<T>
public void add(T t)
add
in interface PartitionMutableStack<T>
Copyright © 2004–2019. All rights reserved.