Class ContainerQueue<E>
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.container.delegate.AbstractDelegator<E>
org.eclipse.net4j.util.container.delegate.ContainerCollection<E>
org.eclipse.net4j.util.container.delegate.ContainerQueue<E>
- Type Parameters:
E- the element type
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IContainerCollection<E>, IContainerQueue<E>, IContainer<E>, INotifier, INotifier.INotifier2
- Direct Known Subclasses:
ContainerBlockingQueue
A default implementation of a
container queue.- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractDelegator
AbstractDelegator.DelegatingIteratorNested classes/interfaces inherited from class Notifier
Notifier.CancelationNested classes/interfaces inherited from interface IContainer
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>Nested classes/interfaces inherited from interface INotifier
INotifier.INotifier2 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ContainerCollection
add, addAll, clear, contains, containsAll, equals, getElements, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class AbstractDelegator
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEventMethods inherited from class Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface IContainer
getElements, isEmptyMethods inherited from interface INotifier
addListener, getListeners, hasListeners, removeListener
-
Constructor Details
-
ContainerQueue
-
-
Method Details
-
getDelegate
- Specified by:
getDelegatein interfaceIContainerCollection<E>- Specified by:
getDelegatein interfaceIContainerQueue<E>- Overrides:
getDelegatein classContainerCollection<E>
-
element
-
offer
-
peek
-
poll
-
remove
-