public final class NoOpQueue<E extends com.newrelic.agent.model.PriorityAware>
extends java.lang.Object
implements java.util.Queue<E>
| Constructor and Description |
|---|
NoOpQueue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
boolean |
addAll(java.util.Collection<? extends E> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
E |
element() |
static <T extends com.newrelic.agent.model.PriorityAware> |
getInstance() |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
E |
remove() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static <T extends com.newrelic.agent.model.PriorityAware> java.util.Queue<T> getInstance()
public boolean add(E e)
public boolean offer(E e)
offer in interface java.util.Queue<E extends com.newrelic.agent.model.PriorityAware>public E remove()
remove in interface java.util.Queue<E extends com.newrelic.agent.model.PriorityAware>public E poll()
poll in interface java.util.Queue<E extends com.newrelic.agent.model.PriorityAware>public E element()
element in interface java.util.Queue<E extends com.newrelic.agent.model.PriorityAware>public E peek()
peek in interface java.util.Queue<E extends com.newrelic.agent.model.PriorityAware>public int size()
size in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean isEmpty()
isEmpty in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public java.util.Iterator<E> iterator()
public java.lang.Object[] toArray()
toArray in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>public void clear()
clear in interface java.util.Collection<E extends com.newrelic.agent.model.PriorityAware>