Click or drag to resize
RedBlackBSTKey, ValueCeiling Method
Returns the smallest key in the symbol table greater than or equal to key.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Key Ceiling(
	Key key
)

Parameters

key
Type: Key
key the key

Return Value

Type: Key
the smallest key in the symbol table greater than or equal to key
Exceptions
ExceptionCondition
KeyNotFoundExceptionif there is no such key
ArgumentNullExceptionif key is null
InvalidOperationExceptionif the symbol table is empty
See Also