Method TryWeakPredecessor
TryWeakPredecessor(K, out KeyValuePair<K, V>)
Find the entry in the dictionary whose key is the weak predecessor of the specified key.
Declaration
bool TryWeakPredecessor(K key, out KeyValuePair<K, V> res)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key |
KeyValuePair<K, V> | res | The predecessor, if any |
Returns
Type | Description |
---|---|
System.Boolean | True if key has a weak predecessor |