put method

  1. @nullable
V put (
  1. K key,
  2. V value
)

Associates the specified value with the specified key in the map.

@return the previous value associated with the key, or null if the key was not present in the map.

Implementation

@nullable
V put(K key, V value);