RankedSetTAdd Method |
Namespace: Kaos.Collections
public bool Add( T item )
Exception | Condition |
---|---|
ArgumentException | When no comparer is available. |
If item is already in the set, this method returns false and does not throw an exception.
This is a O(log n) operation.