J.7. Interface Queue

A queue is a collection that represents a waiting line—typically, insertions are made at the back of a queue and deletions are made from the front. Interface Queue extends interface Collection and provides additional operations for inserting, removing and inspecting elements in a queue. You can view the details of interface Queue and the list of classes that implement it at

docs.oracle.com/javase/6/docs/api/index.html?java/util/Queue.html

Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.