public class ContainerQueue<E> extends ContainerCollection<E> implements IContainerQueue<E>
container queue
.AbstractDelegator.DelegatingIterator
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Constructor and Description |
---|
ContainerQueue(Queue<E> delegate) |
Modifier and Type | Method and Description |
---|---|
E |
element() |
Queue<E> |
getDelegate() |
boolean |
offer(E o) |
E |
peek() |
E |
poll() |
E |
remove() |
add, addAll, clear, contains, containsAll, equals, getElements, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEvent
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
public Queue<E> getDelegate()
getDelegate
in interface IContainerCollection<E>
getDelegate
in interface IContainerQueue<E>
getDelegate
in class ContainerCollection<E>
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html