Method Contains
Contains(T)
Returns true
if this queue contains the specified element.
More formally, returns true
if and only if this queue contains
at least one element item
such that o.Equals(item)
.
Declaration
public virtual bool Contains(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The object to locate in the priority queue |
Returns
Type | Description |
---|---|
System.Boolean |
|