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:
java.lang.Iterable<E>,java.util.Collection<E>,java.util.Queue<E>
- Direct Known Subclasses:
EvictingQueue
public abstract class ForwardingQueue<E> extends ForwardingCollection<E> implements java.util.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, toArrayMethods inherited from interface java.lang.Iterable
forEach
-
Constructor Details
-
ForwardingQueue
public ForwardingQueue()
-
-
Method Details
-
delegate
- Specified by:
delegatein classForwardingCollection<E>
-
add
- Specified by:
addin interfacejava.util.Collection<E>- Specified by:
addin interfacejava.util.Queue<E>- Overrides:
addin classForwardingCollection<E>
-
offer
- Specified by:
offerin interfacejava.util.Queue<E>
-
remove
- Specified by:
removein interfacejava.util.Queue<E>
-
poll
- Specified by:
pollin interfacejava.util.Queue<E>
-
element
- Specified by:
elementin interfacejava.util.Queue<E>
-
peek
- Specified by:
peekin interfacejava.util.Queue<E>
-