fipaos.util
Class FIFOQueue

fipaos.util.Queue
  |
  +--fipaos.util.FIFOQueue

public class FIFOQueue
extends Queue

This is a simple queue which provides blocking and non-blocking methods for getting the next element in the queue


Constructor Summary
FIFOQueue(int max_size)
          Creates a FIFOQueue with the given maximum size
FIFOQueue()
          Create a FIFOQueue with no maximum size

Methods inherited from class fipaos.util.Queue
addItem, flush, getItem, getItemWithoutBlocking, isEmpty, isFull, main, queueLength, releaseBlock

Constructor Detail

FIFOQueue

public FIFOQueue(int max_size)
Creates a FIFOQueue 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

FIFOQueue

public FIFOQueue()
Create a FIFOQueue with no maximum size