|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jutil.java.collections.FifoList
|
+--org.jutil.java.collections.BlockingFifoList
Synchronized fifo list that will block the request to pop the first object until a first object is present.
| Constructor Summary | |
BlockingFifoList()
public behavior post size() == 0; Initialize a new empty blocking fifo list. |
|
| Method Summary | |
void |
clear()
See superclass/ |
java.lang.Object |
pop()
also public behavior pre true; See superclass. |
void |
push(java.lang.Object object)
See superclass. |
int |
size()
See superclass. |
| Methods inherited from class org.jutil.java.collections.FifoList |
isEmpty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlockingFifoList()
| Method Detail |
public void push(java.lang.Object object)
push in class FifoListorg.jutil.java.collections.Fifoobject - The object to be put in the fifo.public java.lang.Object pop()
pop in class FifoListpublic void clear()
clear in class FifoListpublic int size()
size in class FifoList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||