@get


Description:

public V @get (K key)

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);

Parameters:

key

the key to look up.

Returns:

the associated value, or null if not found.