owns
Queries whether the given ConditionObject uses this synchronizer as its lock.
Return
true if owned
Parameters
condition
the condition
Throws
if the condition is null
Queries whether the given ConditionObject uses this synchronizer as its lock.
true if owned
the condition
if the condition is null