edu.olemiss.cs211
Class Stack<T>

java.lang.Object
  extended by edu.olemiss.cs211.List<T>
      extended by edu.olemiss.cs211.Stack<T>
All Implemented Interfaces:
java.lang.Iterable<T>

public class Stack<T>
extends List<T>


Constructor Summary
Stack()
           
 
Method Summary
 T pop()
           
 void push(T e)
           
 
Methods inherited from class edu.olemiss.cs211.List
add, clone, find, iterator, main, size, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stack

public Stack()
Method Detail

push

public void push(T e)

pop

public T pop()