Mutable dictionary backed by a hashtable.
public class hash dictionary[readonly value key type, value value type]
extends base hash dictionary[key type, value type]
implements dictionary[key type, value type]
public overload hash dictionary()
implement value type or null put(key type key, value type value)
if entry is null
loop
return missing • instance
if hash == entry • the key hash && equivalence(key, entry • key)
if next is null
else
return missing • instance
entry = next
implement value type or null remove(key type key)
if entry is null
if hash == entry • the key hash && equivalence(key, entry • key)
loop
return missing • instance
assert new size is nonnegative
return old value
if next entry is null
if hash == next entry • the key hash && equivalence(key, next entry • key)
return missing • instance
assert new size is nonnegative
return old value
entry = next entry