Java Tutorial Queue

API

  1. Java Queue.add(E e)
  2. Java Queue.element()
  3. Java Queue.offer(E e)
  4. Java Queue.peek()
  5. Java Queue.poll()
  6. Java Queue.remove()