/*
* Copyright (c) 2015 Goldman Sachs.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*/
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 type MutableStack
.
/**
* This package contains implementations of the {@link org.eclipse.collections.api.stack.MutableStack} interface.
* <p>
* Mutable Stack is backed by a FastList and iterates from top to bottom (LIFO order). It behaves like FastList in terms of runtime complexity.
* <p>
* This package contains 3 stack implementations:
* <ul>
* <li>
* {@link org.eclipse.collections.impl.stack.mutable.ArrayStack} - a MutableStack backed by a FastList.
* </li>
* <li>
* {@link org.eclipse.collections.impl.stack.mutable.SynchronizedStack} - a synchronized view of a stack.
* </li>
* <li>
* {@link org.eclipse.collections.impl.stack.mutable.UnmodifiableStack} - an unmodifiable view of a stack.
* </li>
* </ul>
* <p>
* This package contains one factory implementation:
* <ul>
* <li>
* {@link org.eclipse.collections.impl.stack.mutable.MutableStackFactoryImpl} - a factory which creates instances of type {@link org.eclipse.collections.api.stack.MutableStack}.
* </li>
* </ul>
*/
package org.eclipse.collections.impl.stack.mutable;