Sdílet prostřednictvím


AbstractQueuedLongSynchronizer.Owns Method

Definition

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

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

Parameters

Returns

true if owned

Attributes

Exceptions

if the condition is null

Remarks

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.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