SeparateChainingHashSTKey, Value Methods |
The SeparateChainingHashSTKey, Value generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Contains |
Returns true if this symbol table contains the specified key. |
![]() | Delete |
Removes the specified key and its associated value from this symbol table
(if the key is in this symbol table). |
![]() | Get |
Returns the value associated with the specified key in this symbol table. |
![]() | Keys |
Returns all keys in the symbol table as an IEnumerable.
To iterate over all of the keys in the symbol table named st,
use the foreach notation: foreach (Key key in st.Keys()). |
![]() ![]() | MainTest |
Demo test the SeparateChainingHashST data type. |
![]() | Put |
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. |