|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunsw.cse.mica.util.BlockingQueue
public class BlockingQueue
Mica uses its own implementation of a blocking queue to provide to allow compilation
using the CDC configuration of J2ME (which does not support the java.util.concurrent
package).
Constructor Summary | |
---|---|
BlockingQueue()
Create a new, empty queue |
Method Summary | |
---|---|
void |
put(java.lang.Object o)
Put a message on the queue |
java.lang.Object |
take()
Take a message off the queue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockingQueue()
Method Detail |
---|
public void put(java.lang.Object o)
o
- the message to get from the queuepublic java.lang.Object take() throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |