BRUtil - Making Java a Kinder, Gentler, Place to be.

brutil
Interface Stack

All Superinterfaces:
Collection
All Known Implementing Classes:
AbstractStack

public interface Stack
extends Collection


Method Summary
 java.lang.Object peek()
          Returns the object at the top of the stack
 java.lang.Object pop()
          Removes and returns the object at the top of the stack
 void push(java.lang.Object obj)
          Inserts the specified object at the top of the stack
 
Methods inherited from interface brutil.Collection
clear, isEmpty, size
 

Method Detail

peek

public java.lang.Object peek()
Returns the object at the top of the stack

pop

public java.lang.Object pop()
Removes and returns the object at the top of the stack

push

public void push(java.lang.Object obj)
Inserts the specified object at the top of the stack


BRUtil - Making Java a Kinder, Gentler, Place to be.