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

Method equals

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

Compares two Ion values for structural equality, which means that they represent the exact same semantics, including annotations, numeric precision, and so on. This is a "deep" comparison that recursively traverses the hierarchy, and as such it should be considered an expensive operation. @see com

(Object other)

Source from the content-addressed store, hash-verified

525 * precision and annotations.
526 */
527 public boolean equals(Object other);
528
529
530 /**

Callers 15

clone_array_listMethod · 0.95
processToIonStreamMethod · 0.65
compareFilesMethod · 0.65
isSameSymbolTokenMethod · 0.65
isEmbeddedStreamMethod · 0.65
isEmbeddedEventMethod · 0.65
isEventStreamMethod · 0.65
isSameSymbolTableMethod · 0.65
modifyStringMethod · 0.65
checkFieldsMethod · 0.65
notEqualButSameTimeMethod · 0.65

Implementers 1

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

Calls

no outgoing calls

Tested by 15

clone_array_listMethod · 0.76
modifyStringMethod · 0.52
checkFieldsMethod · 0.52
notEqualButSameTimeMethod · 0.52
testNegativeZeroMethod · 0.52
checkEqualityMethod · 0.52
modifySymbolMethod · 0.52
testBinWriteFloat01Method · 0.52
testBinWriteFloat02Method · 0.52
testBinWriteFloat03Method · 0.52