Package org.eclipse.collections.impl.stack.mutable
package org.eclipse.collections.impl.stack.mutable
This package contains implementations of the
MutableStack
interface.
Mutable Stack is backed by a FastList and iterates from top to bottom (LIFO order). It behaves like FastList in terms of runtime complexity.
This package contains 3 stack implementations:
-
ArrayStack
- a MutableStack backed by a FastList. -
SynchronizedStack
- a synchronized view of a stack. -
UnmodifiableStack
- an unmodifiable view of a stack.
This package contains one factory implementation:
-
MutableStackFactoryImpl
- a factory which creates instances of typeMutableStack
.
-
ClassDescriptionArrayStack<T>ArrayStack is a MutableStack which contains a FastList of data.A synchronized view of a
MutableStack
.