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

Method optString

src/org/json/JSONArray.java:556–558  ·  view source on GitHub ↗

Get the optional string value associated with an index. It returns an empty string if there is no value at that index. If the value is not a string and is not null, then it is coverted to a string. @param index The index must be between 0 and length() - 1. @return A String value.

(int index)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runMethod · 0.45

Calls 3

optMethod · 0.95
equalsMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected