| 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 public int GetDistinctCount()
Return Value
Type:
Int32The 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