Click or drag to resize

RankedBagTGetCount Method

Returns the number of occurrences of the supplied item in the bag.

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

Parameters

item
Type: T
The item to return the number of occurrences for.

Return Value

Type: Int32
The number of occurrences of the supplied item.
Remarks

This is a O(log n) operation where n is Count.

See Also