MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / getValue

Method getValue

src/main/java/IE/ConfigData.java:206–213  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

204 }
205
206 private String getValue(String key) {
207 for (Enumeration e=array.elements(); e.hasMoreElements();) {
208 keyValue i=(keyValue)e.nextElement();
209 if (i.getKey().equals(key))
210 return i.getValue();
211 }
212 return null;
213 }
214
215 private String getStringProperty(final String key, final String defvalue) {
216 return (key != null) ? key : defvalue;

Callers 1

importDataMethod · 0.95

Calls 4

getKeyMethod · 0.95
getValueMethod · 0.95
elementsMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected