Class SafeStack<E>

java.lang.Object
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, SequencedCollection<E>

public class SafeStack<E> extends Stack<E>
The Stack.search(java.lang.Object) method of Stack can throw a ClassCastException if the items on the stack are not all the same type. We override that method so it compares on identity and not using equals().
Version:
$Revision: 0000 $ $Date: $
Author:
Edward Kuns
See Also: