MCPcopy Create free account
hub / github.com/davidgiven/luje / put

Method put

lib/java/util/HashMap.java:557–560  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

putImplMethod · 0.95

Tested by

no test coverage detected