ceiling

open override fun ceiling(e: E): E?

Returns the least element in this set greater than or equal to the given element, or null if there is no such element.

Return

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

Parameters

e

the value to match

Throws

if the specified element cannot be compared with the elements currently in the set

if the specified element is null and this set does not permit null elements