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

Method get

vm/JavaAPI/src/java/util/HashMap.java:424–431  ·  view source on GitHub ↗

Returns the value of the mapping with the specified key. @param key the key. @return the value of the mapping with the specified key, or null if no mapping for the specified key is found.

(Object key)

Source from the content-addressed store, hash-verified

422 * if no mapping for the specified key is found.
423 */
424 @Override
425 public V get(Object key) {
426 Entry<K, V> m = getEntry(key);
427 if (m != null) {
428 return m.value;
429 }
430 return null;
431 }
432
433 final Entry<K, V> getEntry(Object key) {
434 Entry<K, V> m;

Callers 15

findCommonContainersMethod · 0.95
calcRowsOrColsSizesMethod · 0.95
loadThemeMethod · 0.95
collectSamInterfacesMethod · 0.95
performHandshakeMethod · 0.95
replaceAttachmentsMethod · 0.95
mainMethod · 0.95
propagateMethod · 0.95
setClassIndexMethod · 0.95

Calls 1

getEntryMethod · 0.95

Tested by 3

mainMethod · 0.76
parseQueryMethod · 0.76
handleMethod · 0.76