Click or drag to resize
TrieSTValue Methods

The TrieSTValue generic type exposes the following members.

Methods
  NameDescription
Public methodContains
Does this symbol table contain the given key?
Public methodDelete
Removes the key from the set if the key is present.
Public methodGet
Returns the value associated with the given key.
Public methodKeysThatMatch
Returns all of the keys in the symbol table that match pattern, where . symbol is treated as a wildcard character.
Public methodKeysWithPrefix
Returns all of the keys in the set that start with prefix.
Public methodLongestPrefixOf
Returns the string in the symbol table that is the longest prefix of query, or null, if no such string.
Public methodStatic memberMainTest
Demo test the TrieST data type.
Public methodPut
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.
Top
See Also