Click or drag to resize

PriorityQueueTContains Method

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public bool Contains(
	T item
)

Parameters

item
Type: T
The object to locate in the PriorityQueueT. The value can be for reference types.

Return Value

Type: Boolean
if item is found in the PriorityQueueT otherwise, .

Implements

ICollectionTContains(T)
Remarks

This method determines equality using the default equality comparer Default for T, the type of values in the priority queue.

This method performs a linear search; therefore, this method is an O(n) operation, where n is Count.

See Also