Example usage for Java java.util AbstractQueue fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | add(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. |
void | clear() Removes all of the elements from this queue. |
int | size() Returns the number of elements in this collection. |