FixedSizeNodeTKey, TValueGetIndexOf Method
Searches for the index of the specified key within the node.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override int GetIndexOf(
TKey key
)
Protected Overrides Function GetIndexOf (
key As TKey
) As Integer
protected:
virtual int GetIndexOf(
TKey key
) override
function GetIndexOf(key);
- key TKey
- The key to search for.
Int32
The index of the specified key within the node, or a negative value if the key is not found.
This method performs a binary search to find the index of the specified key within the node's keys.
If the key is found, its index is returned; otherwise, a negative value is returned to indicate that
the key is not present in the node.