Returns the value associated with the specified key. Returns null if the key is not found.
Example:
var map = new HashMap<string,string> (GLib.str_hash, GLib.str_equal);
map.put ("key", "value");
assert (map.get ("key") == "value");
assert (map.get ("missing") == null);
| key |
the key to look up. |
|
the associated value, or null if not found. |