ceilingEntry

open override fun ceilingEntry(key: K): Map.Entry<K, V>?

Returns a key-value mapping associated with the least key greater than or equal to the given key, or null if there is no such key.

Return

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

Parameters

key

the key

Throws

if key cannot be compared

if key is null and nulls are not supported