FixedSizeNodeTKey, TValueInsertUnlessFull Method

Inserts a key-value pair at the specified index unless the node is already full.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override bool InsertUnlessFull(
	int index,
	TKey key,
	TValue value
)

Parameters

index  Int32
The index at which to insert the key-value pair.
key  TKey
The key to insert.
value  TValue
The value to insert.

Return Value

Boolean
true if the key-value pair was successfully inserted; otherwise, false.

Remarks

This method inserts the specified key-value pair at the specified index within the node, unless the node is already full and can't accommodate the insertion while maintaining its size constraints.

See Also