ceilingKey

open override fun ceilingKey(key: K): K?

Returns the least key greater than or equal to the given key, or null if there is no such key.

Return

the least key greater than or equal to key, or null if there is no such key

Parameters

key

the key

Throws

if the specified key cannot be compared with the keys currently in the map

if the specified key is null and this map does not permit null keys