fipaos.util
Class LIFOQueue
fipaos.util.Queue
|
+--fipaos.util.LIFOQueue
- public class LIFOQueue
- extends Queue
This is a simple queue which provides blocking and non-blocking
methods for getting the next element in the queue
Constructor Summary |
LIFOQueue(int max_size) Creates a LIFOQueue with the given maximum size |
LIFOQueue() Create a LIFOQueue with no maximum size |
LIFOQueue
public LIFOQueue(int max_size)
- Creates a LIFOQueue with the given maximum size
- Parameters:
- max_size - The most elements that can be contained within the
queue at once, or -1 for no limit
LIFOQueue
public LIFOQueue()
- Create a LIFOQueue with no maximum size