Method Predecessor
Predecessor(K)
Find the entry with the largest key less than a given key.
Declaration
KeyValuePair<K, V> Predecessor(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. |