MCPcopy Create free account
hub / github.com/RevEngAI/plugin-ghidra / put

Method put

src/main/java/docking/wizard/WizardState.java:55–67  ·  view source on GitHub ↗

Sets the property value for a given property key. Also clears out the property values for any properties that depend on this property. @param key the propertyKey whose value is to be set or changed with the new value. @param value the new value for the property.

(T key, Object value)

Source from the content-addressed store, hash-verified

53 * @param value the new value for the property.
54 */
55 public void put(T key, Object value) {
56 if (map.containsKey(key)) {
57 Object oldValue = map.get(key);
58 if (oldValue == value) {
59 return;
60 }
61 if (oldValue != null && oldValue.equals(value)) {
62 return;
63 }
64 }
65 map.put( key, value );
66 clearDependents(key);
67 }
68
69 /**
70 * Removes the property key,value pair from this wizard state.

Callers 15

runSetupWizardMethod · 0.95
testFullAnalysisFlowMethod · 0.80
statusMethod · 0.80
addDependencyMethod · 0.80
updatePropertyValuesMethod · 0.80
cloneMethod · 0.80
addDependencyMethod · 0.80

Calls 3

clearDependentsMethod · 0.95
getMethod · 0.80
equalsMethod · 0.80