Returns the value associated to the next key in the map if an exact match doesn't exist. If there is an exact match, the method will return the value associated to the given key. @param key the key for wich the look-up will be done. @return the value associated to the given key or the next available
(K key)
| 229 | * value |
| 230 | */ |
| 231 | public V getNextOf(K key){ |
| 232 | if (root==null) return null; |
| 233 | Entry<K,V> lub=getCeilEntry(key); |
| 234 | if (lub == null) return null; |
| 235 | return lub.value; |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * Returns the value to which this map maps the specified key. Returns |