@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 TreeMap<string,string> ((a, b) => {
return strcmp (a, b);
});
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.