- o
- object to be checked for containment in this queue
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ClassCastException if the class of the specified element is incompatible with this queue (optional) Java.Lang.NullPointerException if the specified element is null (optional)
Returns true if this queue contains the specified element. More formally, returns true if and only if this queue contains at least one element e such that o.equals(e).