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

Method hashCode

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

@return hash code for this structure's pointer.

()

Source from the content-addressed store, hash-verified

1805 * @return hash code for this structure's pointer.
1806 */
1807 @Override
1808 public int hashCode() {
1809 Pointer p = getPointer();
1810 if (p != null) {
1811 return getPointer().hashCode();
1812 }
1813 return getClass().hashCode();
1814 }
1815
1816 /** Cache native type information for use in native code.
1817 * @param p Native pointer to the type information

Callers

nothing calls this directly

Calls 1

getPointerMethod · 0.95

Tested by

no test coverage detected