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

Method setProperty

ij/src/main/java/ij/IJ.java:2662–2669  ·  view source on GitHub ↗

Adds a key-value pair to IJ.properties. The key and value are removed if 'value' is null.

(String key, Object value)

Source from the content-addressed store, hash-verified

2660 * and value are removed if 'value' is null.
2661 */
2662 public static void setProperty(String key, Object value) {
2663 if (properties==null)
2664 properties = new Properties();
2665 if (value==null)
2666 properties.remove(key);
2667 else
2668 properties.put(key, value);
2669 }
2670
2671 /** Returns the object in IJ.properties associated
2672 * with 'key', or null if 'key' is not found.

Callers 11

sendArgumentMethod · 0.45
getLocationMethod · 0.45
CompositeImageMethod · 0.45
ImageJMethod · 0.45
configureProxyMethod · 0.45
mainMethod · 0.45
runMethod · 0.45
rebinImageMethod · 0.45
drawUpdatedPlotMethod · 0.45
copyImagePropertiesMethod · 0.45
putHeaderMethod · 0.45

Calls 2

removeMethod · 0.45
putMethod · 0.45

Tested by 1

mainMethod · 0.36