Maps the specified key to the specified value. @param key the key. @param value the value. @return the value of any previous mapping with the specified key or null if there was no such mapping.
(K key, V value)
| 555 | * {@code null} if there was no such mapping. |
| 556 | */ |
| 557 | @Override |
| 558 | public V put(K key, V value) { |
| 559 | return putImpl(key, value); |
| 560 | } |
| 561 | |
| 562 | V putImpl(K key, V value) { |
| 563 | Entry<K,V> entry; |