Click or drag to resize
RedBlackBSTKey, ValueFloor Method
Returns the largest key in the symbol table less 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 Floor(
	Key key
)

Parameters

key
Type: Key
key the key

Return Value

Type: Key
the largest key in the symbol table less 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