|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBlockingQueue<T>
This class is the specification of a Blocking Queue. This class is generic and handles object of type T.
| Method Summary | |
|---|---|
T |
get()
Method used to get a new object of type T. |
void |
put(T obj)
Method used to put a new object of type T into this queue. |
| Method Detail |
|---|
T get()
throws InterruptedException
InterruptedException - If an exception occurs
while waiting for the next element of this queue.void put(T obj)
obj - The object to put into this queue.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||