Microsoft SDK for Java

unlock

This method of the IntRanges Class unlocks the IntRanges using a previously-assigned key.

Syntax

public synchronized boolean unlock(Object key);

Return Value

Returns true if the object is successfully unlocked; otherwise, returns false.

Parameters

key The key object previously assigned to lock the object.

Exceptions

NullPointerException if the key is null.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.