MCPcopy Index your code
hub / github.com/SteveyO/Hue-Emulator / putOnce

Method putOnce

src/org/json/JSONObject.java:1150–1158  ·  view source on GitHub ↗

Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name. @param key @param value @return his. @throws JSONException if the key is a duplicate

(String key, Object value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

JSONObjectMethod · 0.95

Calls 2

optMethod · 0.95
putMethod · 0.95

Tested by

no test coverage detected