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

Method equals

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

@return whether the given structure's type and pointer match.

(Object o)

Source from the content-addressed store, hash-verified

1795 * @return whether the given structure's type and pointer match.
1796 */
1797 @Override
1798 public boolean equals(Object o) {
1799 return o instanceof Structure
1800 && o.getClass() == getClass()
1801 && ((Structure)o).getPointer().equals(getPointer());
1802 }
1803
1804 /**
1805 * @return hash code for this structure's pointer.

Callers 9

indexOfMethod · 0.45
readFieldMethod · 0.45
writeFieldMethod · 0.45
sortFieldsMethod · 0.45
getFieldListMethod · 0.45
getFieldsMethod · 0.45
deriveLayoutMethod · 0.45
getPointerConstructorMethod · 0.45

Calls 2

getPointerMethod · 0.95
getPointerMethod · 0.65

Tested by

no test coverage detected