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).


Constructor Index

 o ASyncQueue()

Method Index

 o dequeue()
Dequeue the next object, if there is one.
 o enqueue(Object)
 o isEmpty()
 o toString()

Constructors

 o ASyncQueue
 public ASyncQueue()

Methods

 o enqueue
 public synchronized void enqueue(Object o)
 o dequeue
 public synchronized Object dequeue()
Dequeue the next object, if there is one. Otherwise block until there is one.

 o isEmpty
 public boolean isEmpty()
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index