@@ -0,0 +1,1076 @@
+package jsjf;%0A%0A/**%0A * Defines the interface to a stack collection.%0A *%0A * @author Java Foundations%0A * @version 4.0%0A */%0Apublic interface StackADT%3CT%3E%0A%7B%0A    /**  %0A     * Adds the specified element to the top of this stack. %0A     * @param element element to be pushed onto the stack%0A     */%0A    public void push(T element);%0A  %0A    /**  %0A     * Removes and returns the top element from this stack. %0A     * @return the element removed from the stack%0A     */%0A    public T pop();%0A%0A    /**  %0A     * Returns without removing the top element of this stack. %0A     * @return the element on top of the stack%0A     */%0A    public T peek();%0A  %0A    /**  %0A     * Returns true if this stack contains no elements. %0A     * @return true if the stack is empty%0A     */%0A    public boolean isEmpty();%0A%0A    /** %0A     * Returns the number of elements in this stack. %0A     * @return the number of elements in the stack%0A     */%0A    public int size();%0A%0A    /**  %0A     * Returns a string representation of this stack. %0A     * @return a string representation of the stack%0A     */%0A    public String toString();%0A%7D%0A

Create StackADT.java