This interface is implemented by all objects lockable.
Methods
-
isLocked()
-
Returns
true
if the object is locked.Returns:
true
if the object is locked. -
lock()
-
Locks the object.
-
unlock()
-
Unlocks the object.