/* an interface to a stack of ints
 * @author	Biagioni, Edoardo
 * @assignment	lecture 8 and assignment 4
 * @date	February 6, 2008
 * @inspiration	William Albritton's integer stack and Java's stack class,
 *http://www2.hawaii.edu/~walbritt/ics211/stackArray/IntegerStackInterface.java
 * http://java.sun.com/j2se/1.5.0/docs/api/java/util/Stack.html
 */

import java.util.EmptyStackException;

public interface IntStackInterface {
    /* @param	string to push onto the stack */
    void push(int value);
    /* @return	the top string on the stack */
    int pop()
	throws java.util.EmptyStackException;

    /* @return	whether the stack is empty */
    boolean empty();
}