RedBlackBSTKey, ValueSize Method |
Returns the number of keys in the symbol table in the given range.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Size(
Key lo,
Key hi
)
Parameters
- lo
- Type: Key
lower bound key - hi
- Type: Key
upper bound key
Return Value
Type:
Int32the number of keys in the sybol table between
lo
(inclusive) and
hi (exclusive)
Exceptions
See Also