Share via


AbstractQueuedSynchronizer.Owns Method

Definition

Queries whether the given ConditionObject uses this synchronizer as its lock.

[Android.Runtime.Register("owns", "(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)Z", "")]
public bool Owns (Java.Util.Concurrent.Locks.AbstractQueuedSynchronizer.ConditionObject? condition);
[<Android.Runtime.Register("owns", "(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)Z", "")>]
member this.Owns : Java.Util.Concurrent.Locks.AbstractQueuedSynchronizer.ConditionObject -> bool

Parameters

Returns

true if owned

Attributes

Exceptions

if the condition is null

Remarks

Java documentation for java.util.concurrent.locks.AbstractQueuedSynchronizer.owns(java.util.concurrent.locks.ConditionObject).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to