set-nth-pair ( value key array n -- )
Factor handbook > The language > Collections > Hashtables > Hashtable implementation details

Prev:<hash-array> ( n -- array )
Next:rehash ( hash -- )


Inputs and outputs
valuethe second element of the pair
keythe first element of the pair
arraythe underlying array of the hashtable
nan index in the sequence

Word description
Stores a pair of values into the elements with index n and n+1, respectively.

This word is in the hashtables.private vocabulary because it does not perform bounds checks.

Side effects
Modifies seq