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 type MutableStack
.
Class | Description |
---|---|
ArrayStack<T> |
ArrayStack is a MutableStack which contains a FastList of data.
|
MutableStackFactoryImpl | |
SynchronizedStack<T> |
A synchronized view of a
MutableStack . |
UnmodifiableStack<T> |
Copyright © 2004–2017. All rights reserved.