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