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

Method isUnique

shared/java/Surface.java:897–904  ·  view source on GitHub ↗

May return true if the caller is the only owner. Ensures that all previous owner's actions are complete.

()

Source from the content-addressed store, hash-verified

895 * <p>Ensures that all previous owner's actions are complete.</p>
896 */
897 public boolean isUnique() {
898 try {
899 Stats.onNativeCall();
900 return _nUnique(_ptr);
901 } finally {
902 ReferenceUtil.reachabilityFence(this);
903 }
904 }
905
906 @ApiStatus.Internal
907 public Surface(long ptr) {

Callers 1

executeMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nUniqueMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

executeMethod · 0.64