TSTValue Methods |
The TSTValue generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Contains |
Does this symbol table contain the given key? |
![]() | Get |
Returns the value associated with the given key. |
![]() | KeysThatMatch |
Returns all of the keys in the symbol table that match pattern,
where . symbol is treated as a wildcard character. |
![]() | KeysWithPrefix |
Returns all of the keys in the set that start with prefix. |
![]() | LongestPrefixOf |
Returns the string in the symbol table that is the longest prefix of query,
or null, if no such string. |
![]() ![]() | MainTest |
Demo test the TST data type. |
![]() | Put |
Inserts the key-value pair into the symbol table, overwriting the old value
with the new value if the key is already in the symbol table.
If the value is null, this effectively deletes the key from the symbol table. |