MCPcopy Create free account
hub / github.com/SteveyO/Hue-Emulator / optString

Method optString

src/org/json/JSONObject.java:951–953  ·  view source on GitHub ↗

Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is converted to a string. @param key A key string. @return A string which is the value.

(String key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

createSchedule_3_2Method · 0.95
createGroup_2_2Method · 0.95
setGroupState_2_5Method · 0.95
setLightStateMethod · 0.95
createScene_4_2Method · 0.95
createUser_7_1Method · 0.95

Calls 3

optMethod · 0.95
equalsMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected