Class NonBlockingStack<ELEMENTTYPE>

java.lang.Object
java.util.AbstractCollection<ELEMENTTYPE>
java.util.AbstractList<ELEMENTTYPE>
java.util.ArrayList<ELEMENTTYPE>
com.helger.commons.collection.impl.CommonsArrayList<ELEMENTTYPE>
com.helger.commons.collection.NonBlockingStack<ELEMENTTYPE>
Type Parameters:
ELEMENTTYPE - The type of the elements contained in the stack
All Implemented Interfaces:
ICommonsCollection<ELEMENTTYPE>, ICommonsIterable<ELEMENTTYPE>, ICommonsList<ELEMENTTYPE>, ICloneable<ICommonsList<ELEMENTTYPE>>, IHasSize, Serializable, Cloneable, Iterable<ELEMENTTYPE>, Collection<ELEMENTTYPE>, List<ELEMENTTYPE>, RandomAccess, SequencedCollection<ELEMENTTYPE>

@NotThreadSafe public class NonBlockingStack<ELEMENTTYPE> extends CommonsArrayList<ELEMENTTYPE>
A version of a stack that does not use Vector but an CommonsArrayList as the underlying data structure as opposed to Stack. This spares us from unnecessary synchronization.
Author:
Philip Helger
See Also: