All Packages Class Hierarchy This Package Previous Next Index
Class prolog.util.ASyncQueue
java.lang.Object
|
+----prolog.util.ASyncQueue
- public class ASyncQueue
- extends Object
- implements Queue
Asychronous, blocking queue (thread safe).
-
ASyncQueue()
-
-
dequeue()
- Dequeue the next object, if there is one.
-
enqueue(Object)
-
-
isEmpty()
-
-
toString()
-
ASyncQueue
public ASyncQueue()
enqueue
public synchronized void enqueue(Object o)
dequeue
public synchronized Object dequeue()
- Dequeue the next object, if there is one. Otherwise block until there
is one.
isEmpty
public boolean isEmpty()
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index