MCPcopy Create free account
hub / github.com/Twitter4J/Twitter4J / isNull

Method isNull

twitter4j-core/src/json/java/twitter4j/JSONArray.java:297–300  ·  view source on GitHub ↗

Returns true if this array has no value at index, or if its value is the null reference or JSONObject#NULL. @param index Which value to check. @return true if the value is null.

(int index)

Source from the content-addressed store, hash-verified

295 * @return true if the value is null.
296 */
297 public boolean isNull(int index) {
298 Object value = opt(index);
299 return value == null || value == JSONObject.NULL;
300 }
301
302 /**
303 * Returns the value at {@code index}.

Callers 15

getUserMentionsMethod · 0.45
getUrlsMethod · 0.45
getHashtagsMethod · 0.45
getSymbolsMethod · 0.45
getMediaMethod · 0.45
getRawStringMethod · 0.45
determineMethod · 0.45
initMethod · 0.45
MediaEntityJSONImplMethod · 0.45
initMethod · 0.45

Calls 1

optMethod · 0.95

Tested by

no test coverage detected