Package org.jmxtrans.agent.util.collect
Class ForwardingQueue<E>
java.lang.Object
org.jmxtrans.agent.util.collect.ForwardingCollection<E>
org.jmxtrans.agent.util.collect.ForwardingQueue<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Queue<E>
- Direct Known Subclasses:
EvictingQueue
public abstract class ForwardingQueue<E> extends ForwardingCollection<E> implements Queue<E>
- Author:
- Cyrille Le Clerc
-
Constructor Summary
Constructors Constructor Description ForwardingQueue() -
Method Summary
Methods inherited from class org.jmxtrans.agent.util.collect.ForwardingCollection
addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
ForwardingQueue
public ForwardingQueue()
-
-
Method Details
-
delegate
- Specified by:
delegatein classForwardingCollection<E>
-
add
- Specified by:
addin interfaceCollection<E>- Specified by:
addin interfaceQueue<E>- Overrides:
addin classForwardingCollection<E>
-
offer
-
remove
-
poll
-
element
-
peek
-