Oct 10, 2018

[HDGEM] A Queue is a collection for holding elements prior to processing.

Besides basic Collection operations, queues provide additional insertion, removal, and inspection operations. The Queue interface follows.

public interface Queue<E> extends Collection<E> {      E element();      boolean offer(E e);      E peek();      E poll();      E remove();  }

Posted By Blogger to HDGEM at 3/04/2017 07:41:00 AM