MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / put

Method put

vm/JavaAPI/src/java/util/LinkedHashMap.java:366–375  ·  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

364 * {@code null} if there was no such mapping.
365 */
366 @Override
367 public V put(K key, V value) {
368 V result = putImpl(key, value);
369
370 if (removeEldestEntry(head)) {
371 remove(head.key);
372 }
373
374 return result;
375 }
376
377 V putImpl(K key, V value) {
378 LinkedHashMapEntry<K, V> m;

Callers 15

signingInputMethod · 0.95
asExplodedMapMethod · 0.95
updateMethod · 0.95
buildRequestBodyMethod · 0.95
sendConnectionInitMethod · 0.95
messageMethod · 0.95
stringMapMethod · 0.95
discoverMethod · 0.95
buildSourceUnitMethod · 0.95

Calls 3

putImplMethod · 0.95
removeEldestEntryMethod · 0.95
removeMethod · 0.95