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

Method put

vm/JavaAPI/src/java/util/HashMap.java:524–527  ·  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

522 * {@code null} if there was no such mapping.
523 */
524 @Override
525 public V put(K key, V value) {
526 return putImpl(key, value);
527 }
528
529 V putImpl(K key, V value) {
530 Entry<K,V> entry;

Callers 15

toMapMethod · 0.95
saveActiveFencesMethod · 0.95
saveFencesMethod · 0.95
decodeFeatureMethod · 0.95
signUpMethod · 0.95
signInWithIdpIdTokenMethod · 0.95
registerPasskeyMethod · 0.95
finalisePasskeySignInMethod · 0.95
refreshMethod · 0.95

Calls 1

putImplMethod · 0.95

Tested by 15

readZipEntriesMethod · 0.76
readZipEntriesMethod · 0.76
runTestMethod · 0.76
runTestMethod · 0.76
mainMethod · 0.76
MyFormMethod · 0.76
fetchPropertyDataMethod · 0.76
featureMethod · 0.76
MyFormMethod · 0.76