/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package doublex.lib.locks;

/**
 *
 * @author DoubleX
 * @param <K>
 */
public interface IMutableLockable<K> extends ILockable<K> {

    void tryChangeKey(final K oldKey, final K newKey);

};

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package doublex.lib.locks;

import doublex.lib.locks.exceptions.KeyMismatchException;

/**
 *
 * @author DoubleX
 * @param <K>
 */
public interface IMutableLockable<K> extends ILockable<K> {

    void tryChangeKey(final K oldKey, final K newKey) 
            throws KeyMismatchException;

};

Update IMutableLockable.java