simple.util
Class Stack<E>

java.lang.Object
  extended by simple.util.Stack<E>

public class Stack<E>
extends java.lang.Object

FILO queue
Created: Feb 20, 2008

Author:
Kenneth Pierce

Field Summary
private  java.util.Vector<E> stack
           
 
Constructor Summary
Stack()
           
 
Method Summary
 boolean contains(E o)
           
 boolean isEmpty()
           
 E peek()
           
 E pop()
           
 void push(E ele)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

private final java.util.Vector<E> stack
Constructor Detail

Stack

public Stack()
Method Detail

push

public void push(E ele)

pop

public E pop()

peek

public E peek()

size

public int size()

isEmpty

public boolean isEmpty()

contains

public boolean contains(E o)