MCPcopy Create free account
hub / github.com/google/gson / isEmpty

Method isEmpty

gson/src/main/java/com/google/gson/JsonArray.java:208–210  ·  view source on GitHub ↗

Returns true if the array is empty. @return true if the array is empty. @since 2.8.7

()

Source from the content-addressed store, hash-verified

206 * @since 2.8.7
207 */
208 public boolean isEmpty() {
209 return elements.isEmpty();
210 }
211
212 /**
213 * Returns an iterator to navigate the elements of the array. Since the array is an ordered list,

Callers 15

writeMapFieldMethod · 0.45
writeByteStringMethod · 0.45
testGsonModuleMethod · 0.45
testSpliteratorMethod · 0.45
testIsEmptyMethod · 0.45
testClearMethod · 0.45
buildExpectedMethod · 0.45

Calls

no outgoing calls

Tested by 13

testGsonModuleMethod · 0.36
testSpliteratorMethod · 0.36
testIsEmptyMethod · 0.36
testClearMethod · 0.36
buildExpectedMethod · 0.36
testSingletonListsMethod · 0.36