Class SynchronizedStack<T>

java.lang.Object
org.eclipse.collections.impl.stack.mutable.SynchronizedStack<T>
All Implemented Interfaces:
Serializable, Iterable<T>, InternalIterable<T>, OrderedIterable<T>, RichIterable<T>, MutableStack<T>, StackIterable<T>

public final class SynchronizedStack<T> extends Object implements MutableStack<T>, Serializable
A synchronized view of a MutableStack. It is imperative that the user manually synchronize on the collection when iterating over it using the standard JDK iterator or JDK 5 for loop, as per Collections.synchronizedCollection(Collection).
See Also: