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

Method clear

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

Clears the contents of this container (if any) and set it to empty. If this container is an Ion null value, set it to empty. Use #makeNull to make this container null rather than empty. WARNING: This method is not support for instances of IonDatagram.

()

Source from the content-addressed store, hash-verified

92 * {@link IonDatagram}.
93 */
94 public void clear();
95
96 /**
97 * Sets the contents of this container to an Ion <code>null</code>

Implementers 1

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

Calls

no outgoing calls