|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Util.SynchedFifo
| Field Summary | |
private java.util.LinkedList |
fifo
A list holding messages. |
| Constructor Summary | |
SynchedFifo()
|
|
| Method Summary | |
java.lang.String |
get()
Retrieve a message from the start of the fifo. |
boolean |
isEmpty()
A predicate the checks if the fifo is empty |
void |
put(java.lang.String msg)
Put a message in the end of the fifo. |
void |
reset()
Clears the fifo content |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private final java.util.LinkedList fifo
| Constructor Detail |
public SynchedFifo()
| Method Detail |
public final void put(java.lang.String msg)
msg - The message to putpublic final java.lang.String get()
public final void reset()
public final boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||