get
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
A return value of null does not necessarily indicate that the map contains no mapping for the key; it's also possible that the map explicitly maps the key to null. Use containsKey to distinguish.
Return
the value to which the specified key is mapped, or null
Parameters
key
the key whose associated value is to be returned
Throws
if the specified key cannot be compared
if the specified key is null and natural ordering is used or the comparator forbids nulls.