org.apache.openejb.util
Class LinkedListStack
java.lang.Object
org.apache.openejb.util.LinkedListStack
- All Implemented Interfaces:
- Stack
public class LinkedListStack
- extends Object
- implements Stack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedListStack
public LinkedListStack(int initialSize)
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.