Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
RedBlackBST(Key, Value) Class
RedBlackBST(Key, Value) Methods
Ceiling Method
Contains Method
Delete Method
DeleteMax Method
DeleteMin Method
Floor Method
Get Method
Keys Method
MainTest Method
Put Method
Rank Method
Select Method
Size Method
RedBlackBST
Key
,
Value
Floor 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#
Copy
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
Exception
Condition
KeyNotFoundException
if there is no such key
ArgumentNullException
if
key
is
null
InvalidOperationException
if the symbol table is empty
See Also
Reference
RedBlackBST
Key, Value
Class
Algs4Net Namespace