Click or drag to resize
LinearProbingHashSTKey, Value Methods

The LinearProbingHashSTKey, Value generic type exposes the following members.

Methods
  NameDescription
Public methodContains
Returns true if this symbol table contains the specified key.
Public methodDelete
Removes the specified key and its associated value from this symbol table (if the key is in this symbol table).
Public methodGet
Returns the value associated with the specified key.
Public methodKeys
Returns all keys in this symbol table as an Iterable. To iterate over all of the keys in the symbol table named st, use the foreach notation: foreach (Key key in st.Keys()).
Public methodStatic memberMainTest
Demo test the LinearProbingHashST data type.
Public methodPut
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.
Top
See Also