contains method

bool contains (E object)

Checks if object is in the queue.

Returns true if the element is found.

Implementation

bool contains(E object);