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

Method equals

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

Source from the content-addressed store, hash-verified

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

Callers 15

testExtendedApiMethod · 0.45
assertEqualsMethod · 0.45
assertNotEqualsMethod · 0.45
assertArrayEqualsMethod · 0.45
executeMethod · 0.45
makeCloneMethod · 0.45
parseOneMethod · 0.45
makeRuntimeShaderMethod · 0.45
staticLoadMethod · 0.45
loadMethod · 0.45

Calls 2

_nativeEqualsMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 5

testExtendedApiMethod · 0.36
assertEqualsMethod · 0.36
assertNotEqualsMethod · 0.36
assertArrayEqualsMethod · 0.36
executeMethod · 0.36