MCPcopy Create free account
hub / github.com/JetBrains/skija / isUnique

Method isUnique

shared/java/Surface.java:859–866  ·  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

857 * <p>Ensures that all previous owner's actions are complete.</p>
858 */
859 public boolean isUnique() {
860 try {
861 Stats.onNativeCall();
862 return _nUnique(_ptr);
863 } finally {
864 Reference.reachabilityFence(this);
865 }
866 }
867
868 @ApiStatus.Internal
869 public Surface(long ptr) {

Callers 1

executeMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nUniqueMethod · 0.95

Tested by 1

executeMethod · 0.64