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
Ceiling 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#
Copy
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
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