|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.util.LinkedListStack
public class LinkedListStack
A First In First Out (FIFO) queue, also known as a Stack. Note: This is an implementation of org.openejb.util.Stack not to be confused with java.util.Stack
| Constructor Summary | |
|---|---|
LinkedListStack(int initialSize)
Constructs this LinkedListStack with the specified number of LinkedEntry objects all sequentially linked together. |
|
| Method Summary | |
|---|---|
java.lang.Object |
pop()
|
java.lang.Object |
push(java.lang.Object object)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkedListStack(int initialSize)
initialSize - | Method Detail |
|---|
public java.lang.Object push(java.lang.Object object)
push in interface Stack
public java.lang.Object pop()
throws java.util.EmptyStackException
pop in interface Stackjava.util.EmptyStackExceptionpublic int size()
size in interface Stack
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||