Skip to main content
Version: v1

IRBMatcher Interface

Signature

export interface IRBMatcher<TKey, TData>

Type Parameters

Parameter Description
TKey
TData

Methods

Method Return Type Description
continueSubtree(node, key) boolean
matchNode(node, key) boolean

Method Details

continueSubtree

Signature

continueSubtree(node: RBNode<TKey, TData> | undefined, key: TKey): boolean;

Parameters

Parameter Type Description
node RBNode<TKey, TData> | undefined
key TKey

Returns

Return type: boolean

matchNode

Signature

matchNode(node: RBNode<TKey, TData> | undefined, key: TKey): boolean;

Parameters

Parameter Type Description
node RBNode<TKey, TData> | undefined
key TKey

Returns

Return type: boolean