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

Method getInt

ij/src/main/java/ij/OtherInstance.java:219–227  ·  view source on GitHub ↗
(Properties props, String key)

Source from the content-addressed store, hash-verified

217 }
218
219 protected static int getInt(Properties props, String key) {
220 String s = props.getProperty(key);
221 if (s!=null) {
222 try {
223 return Integer.decode(s).intValue();
224 } catch (NumberFormatException e) {IJ.log(""+e);}
225 }
226 return -1;
227 }
228
229 protected static Properties loadPrefs() {
230 Properties result = new Properties();

Callers 1

isRMIEnabledMethod · 0.95

Calls 3

logMethod · 0.95
getPropertyMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected