Method TryWeakSuccessor
TryWeakSuccessor(T, out T)
Find the weak successor of item in the sorted collection, that is, the least item in the collection greater than or equal to the supplied value.
Declaration
public bool TryWeakSuccessor(T item, out T res)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item to find the weak successor for. |
T | res | The weak successor, if any; otherwise the default value for T. |
Returns
Type | Description |
---|---|
System.Boolean | True if item has a weak successor; otherwise false. |