Class PartitionArrayStack<T>
java.lang.Object
org.eclipse.collections.impl.partition.stack.PartitionArrayStack<T>
- All Implemented Interfaces:
PartitionOrderedIterable<T>
,PartitionIterable<T>
,PartitionMutableStack<T>
,PartitionStack<T>
public class PartitionArrayStack<T> extends Object implements PartitionMutableStack<T>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PartitionArrayStack.PartitionPredicate2Procedure<T,P>
static class
PartitionArrayStack.PartitionProcedure<T>
-
Constructor Summary
Constructors Constructor Description PartitionArrayStack()
-
Method Summary
Modifier and Type Method Description void
add(T t)
MutableStack<T>
getRejected()
MutableStack<T>
getSelected()
PartitionImmutableStack<T>
toImmutable()
-
Constructor Details
-
PartitionArrayStack
public PartitionArrayStack()
-
-
Method Details
-
getSelected
- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableStack<T>
- Specified by:
getSelected
in interfacePartitionOrderedIterable<T>
- Specified by:
getSelected
in interfacePartitionStack<T>
-
getRejected
- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableStack<T>
- Specified by:
getRejected
in interfacePartitionOrderedIterable<T>
- Specified by:
getRejected
in interfacePartitionStack<T>
-
toImmutable
- Specified by:
toImmutable
in interfacePartitionMutableStack<T>
-
add
- Specified by:
add
in interfacePartitionMutableStack<T>
-