MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / put

Method put

ij/src/main/java/ij/astro/types/MultiMap.java:29–31  ·  view source on GitHub ↗

Adds a value to the list of values associated with the specified key. If the key does not exist, it will be created. @param key the key to which the value will be added @param value the value to add

(K key, V value)

Source from the content-addressed store, hash-verified

27 * @param value the value to add
28 */
29 public void put(K key, V value) {
30 map.computeIfAbsent(Objects.requireNonNull(key), k -> new ArrayList<>()).add(Objects.requireNonNull(value));
31 }
32
33 /**
34 * Returns a list of values associated with the specified key.

Callers 15

createMapViewMethod · 0.95
setPropertyMethod · 0.45
convertMethod · 0.45
setPropertyMethod · 0.45
setMethod · 0.45
savePreferencesMethod · 0.45
saveOptionsMethod · 0.45
savePluginPrefsMethod · 0.45
ImageJMethod · 0.45
configureProxyMethod · 0.45
savePreferencesMethod · 0.45
addMenuBarMethod · 0.45

Calls 1

addMethod · 0.65

Tested by 1