MCPcopy Create free account
hub / github.com/HumbleUI/JWM / equals

Method equals

shared/java/impl/Native.java:23–40  ·  view source on GitHub ↗
(Object other)

Source from the content-addressed store, hash-verified

21 }
22
23 @Override
24 public boolean equals(Object other) {
25 try {
26 if (this == other)
27 return true;
28 if (null == other)
29 return false;
30 if (!getClass().isInstance(other))
31 return false;
32 Native nOther = (Native) other;
33 if (_ptr == nOther._ptr)
34 return true;
35 return _nativeEquals(nOther);
36 } finally {
37 Reference.reachabilityFence(this);
38 Reference.reachabilityFence(other);
39 }
40 }
41
42 @ApiStatus.Internal
43 public boolean _nativeEquals(Native other) {

Callers 4

startMethod · 0.80
loadMethod · 0.80
_extractMethod · 0.80
setMethod · 0.80

Calls 1

_nativeEqualsMethod · 0.95

Tested by

no test coverage detected