@@ -0,0 +1,802 @@
+package nl.rostykerei.cci.datastructure;%0A%0A/**%0A * Interface for the basic stack data structure.%0A *%0A * @param %3CT%3E the class of the objects in the stack%0A * @author Rosty Kerei%0A */%0Apublic interface Stack%3CT%3E %7B%0A%0A    /**%0A     * Removes the top item from the stack.%0A     *%0A     * @throws java.util.EmptyStackException if stack is empty%0A     * @return top item%0A     */%0A    T pop();%0A%0A    /**%0A     * Adds an item to the top of the stack.%0A     *%0A     * @param item item to add%0A     */%0A    void push(T item);%0A%0A    /**%0A     * Returns the top item from the stack.%0A     *%0A     * @throws java.util.EmptyStackException if stack is empty%0A     * @return top item%0A     */%0A    T peek();%0A%0A    /**%0A     * Checks if stack is empty.%0A     *%0A     * @return true if stack if empty, false otherwise%0A     */%0A    boolean isEmpty();%0A%7D%0A

add stack interface