Method WeakPredecessor
WeakPredecessor(K)
Find the entry with the largest key less than or equal to a given key.
Declaration
KeyValuePair<K, V> WeakPredecessor(K key)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key to compare to |
Returns
Type | Description |
---|---|
KeyValuePair<K, V> | The entry |
Exceptions
Type | Condition |
---|---|
NoSuchItemException | if there is no such entry. |