-
-
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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
-
Methods inherited from interface java.lang.Iterable
forEach
-
-
Constructor Detail
-
ForwardingQueue
public ForwardingQueue()
-
Method Detail
-
add
public boolean add(E e)
- Specified by:
add in interface java.util.Collection<E>
- Specified by:
add in interface java.util.Queue<E>
- Overrides:
add in class ForwardingCollection<E>
-
remove
public E remove()
- Specified by:
remove in interface java.util.Queue<E>
-
poll
public E poll()
- Specified by:
poll in interface java.util.Queue<E>
-
element
public E element()
- Specified by:
element in interface java.util.Queue<E>
-
peek
public E peek()
- Specified by:
peek in interface java.util.Queue<E>
Copyright © 2017. All Rights Reserved.