package cs211.examples;

public class Stack<E> {
	
	/**
	 * Creates a new Stack.
	 */
	public Stack(){
		
	}
	
	/**
	 * Push an item onto the Stack.
	 * 
	 * @param item The item to be pushed onto the top of the Stack
	 */
	public void push(E item){
		
	}
	
	/**
	 * Remove the last item pushed from the Stack and return it.
	 * 
	 * @return The last item that was pushed onto the Stack
	 * @throws NoSuchElementException if the Stack is empty
	 */
	public E pop(){
		return null;
	}
	
	/**
	 * Returns the last item pushed onto the Stack.
	 * 
	 * This does not remove the item from the Stack. If there is no item on the 
	 * Stack, this returns null.
	 * 
	 * @return the last item pushed onto the Stack or null if the Stack is empty
	 */
	public E peek(){
		return null;
	}
	
	/**
	 * Returns true if the Stack is empty.
	 * 
	 * @return true if the Stack is empty and false otherwise
	 */
	public boolean isEmpty(){
		return true;
	}
}