Click or drag to resize

RankedBagTGetDistinctCount Method

Returns the number of distinct items in the bag.

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

Return Value

Type: Int32
The number of distinct items in the bag.
Remarks
This is a O(m log n) operation where m is the distinct item count and n is Count.
See Also