JavaTM 2 Platform
Standard Ed. 5.0

Uses of Interface

Packages that use Queue
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.concurrent Utility classes commonly useful in concurrent programming. 

Uses of Queue in java.util

Classes in java.util that implement Queue
 class AbstractQueue<E>
          This class provides skeletal implementations of some Queue operations.
 class LinkedList<E>
          Linked list implementation of the List interface.
 class PriorityQueue<E>
          An unbounded priority queue based on a priority heap.

Uses of Queue in java.util.concurrent

Subinterfaces of Queue in java.util.concurrent
 interface BlockingQueue<E>
          A Queue that additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the queue when storing an element.

Classes in java.util.concurrent that implement Queue
 class ArrayBlockingQueue<E>
          A bounded blocking queue backed by an array.
 class ConcurrentLinkedQueue<E>
          An unbounded thread-safe queue based on linked nodes.
 class DelayQueue<E extends Delayed>
          An unbounded blocking queue of Delayed elements, in which an element can only be taken when its delay has expired.
 class LinkedBlockingQueue<E>
          An optionally-bounded blocking queue based on linked nodes.
 class PriorityBlockingQueue<E>
          An unbounded blocking queue that uses the same ordering rules as class PriorityQueue and supplies blocking retrieval operations.
 class SynchronousQueue<E>
          A blocking queue in which each put must wait for a take, and vice versa.

JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.