GenericEncodedNodeTKey, TValueGetIndexOf Method

Searches for the index of a specific key within the node.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override int GetIndexOf(
	TKey key
)

Parameters

key  TKey
The key to search for.

Return Value

Int32
The index of the key if found within the node; otherwise, the bitwise complement of the index where the key should be inserted (if not found, the insertion point to maintain sorted order).

See Also