Package org.eclipse.collections.api.partition.stack
package org.eclipse.collections.api.partition.stack
This package contains interfaces for
PartitionStack
.
A PartitionStack is the result of splitting a stack into two stacks based on a Predicate.
This package contains 3 interfaces:
-
PartitionStack
- a read-only PartitionStack API. -
PartitionMutableStack
- a modifiable PartitionStack. -
PartitionImmutableStack
- the non-modifiable equivalent interface toPartitionMutableStack
.
-
ClassDescriptionA PartitionImmutableStack is the result of splitting an immutable stack into two immutable stacks based on a Predicate.A PartitionMutableStack is the result of splitting a mutable stack into two mutable stacks on a Predicate.A PartitionStack is the result of splitting a StackIterable into two StackIterables based on a Predicate.