contains

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


operator fun contains(c: Collection<T>): Boolean

Returns true if this queue contains all the elements in the specified collection WARNING: The collection should contain references to QObject's otherwise it will certainly return false.

Return

True if the queue contains all the elements.

Parameters

c

Collection c of items to check