Interface BoundedQueue<E>


public interface BoundedQueue<E>
  • Method Details

    • poll

      E poll()
    • offer

      boolean offer(E t)
    • size

      long size()
    • isEmpty

      boolean isEmpty()
    • isFull

      boolean isFull()
    • createBoundedQueue

      static <E> BoundedQueue<E> createBoundedQueue()
    • createBoundedQueue

      static <E> BoundedQueue<E> createBoundedQueue(long capacity)