MCPcopy Create free account
hub / github.com/MCBans/MCBans / getString

Method getString

src/main/java/com/mcbans/plugin/org/json/JSONArray.java:328–331  ·  view source on GitHub ↗

Get the string associated with an index. @param index The index must be between 0 and length() - 1. @return A string value. @throws JSONException If there is no value for the index.

(int index)

Source from the content-addressed store, hash-verified

326 * @throws JSONException If there is no value for the index.
327 */
328 public String getString(int index) throws JSONException {
329 Object object = get(index);
330 return object == JSONObject.NULL ? null : object.toString();
331 }
332
333
334 /**

Callers 15

loadConfigMethod · 0.45
getPrefixMethod · 0.45
getApiKeyMethod · 0.45
getLanguageMethod · 0.45
getPermissionMethod · 0.45
getDefaultLocalMethod · 0.45
getDefaultTempMethod · 0.45
getDefaultKickMethod · 0.45
getLogFileMethod · 0.45
getAffectedWorldsMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45

Calls 2

getMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected