Class TLcdQueue

java.lang.Object
com.luciad.util.TLcdQueue
All Implemented Interfaces:
ILcdQueue

public class TLcdQueue extends Object implements ILcdQueue
This class provides a FIFO implementation of ILcdQueue (First In First Out).
  • Constructor Details

    • TLcdQueue

      public TLcdQueue()
  • Method Details

    • clear

      public void clear()
      Clears this queue.
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: ILcdQueue
      Returns true if the queue is empty, false otherwise.
      Specified by:
      isEmpty in interface ILcdQueue
      Returns:
      true if the queue is empty, false otherwise.
    • enqueue

      public void enqueue(Object aObject)
      Description copied from interface: ILcdQueue
      Adds a given object to the queue.
      Specified by:
      enqueue in interface ILcdQueue
      Parameters:
      aObject - the Object to be added to the queue.
    • dequeue

      public Object dequeue()
      Description copied from interface: ILcdQueue
      Gets and removes the first element from the queue.
      Specified by:
      dequeue in interface ILcdQueue
      Returns:
      the first element.