Java java.util AbstractQueue fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Subclass

java.util.AbstractQueue has subclasses.
Click this link to see all its subclasses.

Method

booleanadd(E e)
Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon success and throwing an IllegalStateException if no space is currently available.
voidclear()
Removes all of the elements from this queue.
intsize()
Returns the number of elements in this collection.