Click or drag to resize

RankedBagTContains Method

Determines whether the bag contains the supplied item.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool Contains(
	T item
)

Parameters

item
Type: T
The item to locate.

Return Value

Type: Boolean
true if item is contained in the bag; otherwise false.

Implements

ICollectionTContains(T)
Remarks
This is a O(log n) operation.
See Also