Java java.util.concurrent DelayQueue fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent DelayQueue fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent DelayQueue.

The text is from its open source code.

Constructor

DelayQueue()
Creates a new DelayQueue that is initially empty.
DelayQueue(Collection c)
Creates a DelayQueue initially containing the elements of the given collection of Delayed instances.

Method

booleancontains(Object o)
Returns true if this queue contains the specified element.
booleanoffer(E e)
Inserts the specified element into this delay queue.
Epoll()
Retrieves and removes the head of this queue, or returns null if this queue has no elements with an expired delay.
booleanremove(Object o)
Removes a single instance of the specified element from this queue, if it is present, whether or not it has expired.
intsize()