floor

open override fun floor(key: K): K?(source)

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

Return

The greatest key less than or equal to key, or null.

Parameters

key

The reference key.