Click or drag to resize
SeparateChainingHashSTKey, ValuePut Method
Inserts the specified key-value pair into the symbol table, overwriting the old value with the new value if the symbol table already contains the specified key. Deletes the specified key (and its associated value) from this symbol table if the specified value is null.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Put(
	Key key,
	Value val
)

Parameters

key
Type: Key
the key
val
Type: Value
the value
Exceptions
ExceptionCondition
ArgumentNullExceptionif key is null
See Also