Remove(Int32) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Removes key and its value.

public bool Remove(int key)

Parameters

key
Int32

The key.

Returns

Boolean
true when the tree held the key.

Remarks

ISO 32000-2 §7.9.7. A node left empty is removed from its parent (an empty root keeps an empty Nums array), and the Limits of every node on the path are updated. A damaged tree that holds the key is first rebuilt balanced in place.