java.util
Class Stack

java.lang.Object
  |
  +--java.util.Vector
        |
        +--java.util.Stack

public synchronized class Stack
extends Vector


Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Constructor Summary
Stack()
           
 
Method Summary
 boolean empty()
           
 Object peek()
           
 Object pop()
           
 Object push(Object)
           
 int search(Object)
           
 
Methods inherited from class java.util.Vector
addElement, capacity, clear, elementAt, ensureCapacity, equals, indexOf, indexOf, insertElementAt, isEmpty, removeAllElements, removeElement, removeElementAt, setElementAt, setSize, size, toArray, trimToSize
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

Stack

public Stack()
Method Detail

push

public Object push(Object)

pop

public Object pop()

peek

public Object peek()

empty

public boolean empty()

search

public int search(Object)