SparseIndexTKeyCanCombineWithSiblings Method

When attempting to remove or combine a node, we must check the parent to find which one will be supported to remove.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void CanCombineWithSiblings(
	TKey key,
	byte level,
	out bool canCombineLeft,
	out bool canCombineRight
)

Parameters

key  TKey
The lower key of the node that is being combined or removed.
level  Byte
The level of the node where combination is occurring.
canCombineLeft  Boolean
Outputs true if this node may be combined with the left node; otherwise, false.
canCombineRight  Boolean
Outputs true if this node may be combined with the right node; otherwise, false.

See Also