Class UnmodifiableQueue<E>

Type Parameters:
E - the type of elements held in this queue
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Queue<E>, Unmodifiable

public final class UnmodifiableQueue<E> extends AbstractQueueDecorator<E> implements Unmodifiable
Decorates another Queue to ensure it can't be altered.

Attempts to modify it will result in an UnsupportedOperationException.

Since:
4.0
See Also: