Class CQueue<T>

java.lang.Object
io.perl.api.impl.CQueue<T>
All Implemented Interfaces:
Queue<T>

public final class CQueue<T> extends Object implements Queue<T>
  • Constructor Details

    • CQueue

      public CQueue()
  • Method Details

    • pollOnce

      public T pollOnce()
    • poll

      public T poll()
      Specified by:
      poll in interface Queue<T>
    • add

      public boolean add(T data)
      Specified by:
      add in interface Queue<T>
    • clear

      public void clear()
      Specified by:
      clear in interface Queue<T>