contains

abstract operator fun contains(qObj: T): Boolean

Returns true if this queue contains the specified element. More formally, returns true if and only if this list contains at least one element e such that (o==null ? e==null : o.equals(e)).

Return

True if the queue contains the specified element.

Parameters

qObj

The object to be removed