org.apache.openejb.util
Class LinkedListStack

java.lang.Object
  extended by org.apache.openejb.util.LinkedListStack
All Implemented Interfaces:
Stack

public class LinkedListStack
extends Object
implements Stack


Constructor Summary
LinkedListStack(int initialSize)
           
 
Method Summary
 Object pop()
           
 Object push(Object object)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedListStack

public LinkedListStack(int initialSize)
Method Detail

push

public Object push(Object object)
Specified by:
push in interface Stack

pop

public Object pop()
           throws EmptyStackException
Specified by:
pop in interface Stack
Throws:
EmptyStackException

size

public int size()
Specified by:
size in interface Stack


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.