Method Summary |
|
public boolean | add(E o) Adds the specified element to this queue. |
public void | clear() Atomically removes all of the elements from this delay queue. |
public int | drainTo(Collection<? super E> c) |
public int | drainTo(Collection<? super E> c, int maxElements) |
public Iterator<E> | iterator() Returns an iterator over the elements in this queue. |
public boolean | offer(E o) Inserts the specified element into this delay queue. |
public boolean | offer(E o, long timeout, TimeUnit unit) Inserts the specified element into this delay queue. |
public E | peek() |
public E | poll(long time, TimeUnit unit) |
public E | poll() |
public void | put(E o) Adds the specified element to this delay queue. |
public int | remainingCapacity() Always returns Integer.MAX_VALUE because
a DelayQueue is not capacity constrained. |
public boolean | remove(Object o) |
public int | size() |
public E | take() |
public Object[] | toArray() |
public T[] | toArray(T[] array) |