de.bsvrz.pat.datgen.generator.main
Class Queue
java.lang.Object
de.bsvrz.pat.datgen.generator.main.Queue
- All Implemented Interfaces:
- SendInterface
public final class Queue
- extends Object
- implements SendInterface
Implementierung einer LIFO-Queue
- Author:
- Kappich Systemberatung
Constructor Summary |
Queue()
|
Method Summary |
Object |
pop()
Element aus der LIFO-Liste entnehmen |
void |
push(Object o)
Element in die LIFO-Liste schreiben |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Queue
public Queue()
push
public void push(Object o)
- Element in die LIFO-Liste schreiben
- Specified by:
push
in interface SendInterface
- Parameters:
o
- Object
, welches in die LIFO-Liste geschrieben wird.
pop
public Object pop()
- Element aus der LIFO-Liste entnehmen
- Returns:
Object
, welches aus der LIFO-Liste entfernt wurde