hunt.collection.Queue

Undocumented in source.

Members

Interfaces

Queue
interface Queue(E)

A collection designed for holding elements prior to processing. Besides basic {@link hunt.collection.Collection Collection} operations, queues provide additional insertion, extraction, and inspection operations. Each of these methods exists in two forms: one throws an exception if the operation fails, the other returns a special value (either {@code null} or {@code false}, depending on the operation). The latter form of the insert operation is designed specifically for use with capacity-restricted {@code Queue} implementations; in most implementations, insert operations cannot fail.

Meta