STKey, Value Methods |
The STKey, Value generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Ceiling |
Returns the smallest key in this symbol table greater than or equal to key. |
![]() | Contains |
Returns true if this symbol table contain the given key. |
![]() | Delete |
Removes the specified key and its associated value from this symbol table
(if the key is in this symbol table). |
![]() | Floor |
Returns the largest key in this symbol table less than or equal to key. |
![]() | Get |
Returns the value associated with the given key in this symbol table. |
![]() | Keys |
Returns all keys in this symbol table.
To iterate over all of the keys in the symbol table named st,
use the foreach notation: foreach (Key key n st.Keys()). |
![]() ![]() | MainTest |
Demo test the ST 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. |