MCPcopy Create free account
hub / github.com/Var3D/var3dframe / get

Method get

core/src/core/java/var3d/net/center/json/JSONObject.java:352–358  ·  view source on GitHub ↗

Returns the value mapped by name. @throws JSONException if no such mapping exists.

(String name)

Source from the content-addressed store, hash-verified

350 * @throws JSONException if no such mapping exists.
351 */
352 public Object get(String name) throws JSONException {
353 Object result = nameValuePairs.get(name);
354 if (result == null) {
355 throw new JSONException("No value for " + name);
356 }
357 return result;
358 }
359
360 /**
361 * Returns the value mapped by {@code name}, or null if no such mapping

Callers 13

getMethod · 0.95
getItMethod · 0.95
editMethod · 0.95
getBooleanMethod · 0.95
getDoubleMethod · 0.95
getIntMethod · 0.95
getLongMethod · 0.95
getStringMethod · 0.95
getJSONArrayMethod · 0.95
getJSONObjectMethod · 0.95
accumulateMethod · 0.45
isNullMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected