MCPcopy Index your code
hub / github.com/java-native-access/jna / dataEquals

Method dataEquals

src/com/sun/jna/Structure.java:1764–1766  ·  view source on GitHub ↗

Return whether the given Structure's native backing data is identical to this one. @param s Structure to compare @return equality result

(Structure s)

Source from the content-addressed store, hash-verified

1762 * @return equality result
1763 */
1764 public boolean dataEquals(Structure s) {
1765 return dataEquals(s, false);
1766 }
1767
1768 /** Return whether the given Structure's backing data is identical to
1769 * this one, optionally clearing and re-writing native memory before checking.

Calls 6

sizeMethod · 0.95
writeMethod · 0.95
getPointerMethod · 0.95
getByteArrayMethod · 0.80
getPointerMethod · 0.65
clearMethod · 0.45