View RSS Feed

Recent Blogs Posts

  1. Java Queue Implementations

    by , 02-19-2012 at 07:02 AM
    Collection Interface’s subtype is Queue. In the Queue interface, collection interface methods are present automatically.

    Queue interface instance can’t be created. Queue interface concrete implementations are required. In Collections API, the available Queue implementations are as following. Among them, one can make a choice:
    • java.util.PriorityQueue
    • java.util.LinkedList


    LinkedList is a considered to be a standard queue implementation.

    ...
    Categories
    Queue