MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / isEmpty

Method isEmpty

src/main/java/com/amazon/ion/IonContainer.java:81–81  ·  view source on GitHub ↗

Checks if this container is empty. @return true if this container has no contents @throws NullValueException if this container is an Ion null value

()

Source from the content-addressed store, hash-verified

79 * <code>null</code> value
80 */
81 public boolean isEmpty()
82 throws NullValueException;
83
84 /**

Callers 15

testEmptyMakeReadOnlyMethod · 0.95
testRemoveFromNullMethod · 0.95
checkNullContainerMethod · 0.65
testClearContainerMethod · 0.65
assertEmptyStructMethod · 0.65
testEmptySequenceMethod · 0.65
testEmptyStructMethod · 0.65
testPutNullMethod · 0.65
testBadAddSymbolTokenMethod · 0.65

Implementers 1

IonContainerLitesrc/main/java/com/amazon/ion/impl/lite

Calls

no outgoing calls

Tested by 15

testEmptyMakeReadOnlyMethod · 0.76
testRemoveFromNullMethod · 0.76
checkNullContainerMethod · 0.52
testClearContainerMethod · 0.52
assertEmptyStructMethod · 0.52
testEmptySequenceMethod · 0.52
testEmptyStructMethod · 0.52
testPutNullMethod · 0.52
testBadAddSymbolTokenMethod · 0.52