Click or drag to resize
RedBlackBSTKey, ValueSize Method
Returns the number of keys in the symbol table in the given range.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int Size(
	Key lo,
	Key hi
)

Parameters

lo
Type: Key
lower bound key
hi
Type: Key
upper bound key

Return Value

Type: Int32
the number of keys in the sybol table between lo (inclusive) and hi (exclusive)
Exceptions
ExceptionCondition
ArgumentNullExceptionif either lo or hi is null
See Also