/*
 * 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 final class SyncLocks<K> implements ILocks<K> {

    private final Locks<K> mLocks;

    public SyncLocks(final Locks<K> locks) {
        mLocks = locks;
    }

    @Override
    public final ILockable<K> lock(final String key) {
        return mLocks.lock(key);
    }

    @Override
    public final boolean isLocked() {
        return mLocks.isLocked();
    }

    @Override
    public final synchronized void tryPutLock(
            final String key, final ILockable<K> lock) {
        mLocks.tryPutLock(key, lock);
    }

    @Override
    public final synchronized ILockable<K> triedTakenLock(final String key) {
        return mLocks.triedTakenLock(key);
    }

}

@@ -443,39 +443,35 @@
  public 
-final ILockable%3CK%3E lock
+boolean containsKey
 (final S
@@ -505,20 +505,27 @@
  mLocks.
-lock
+containsKey
 (key);%0A 
@@ -555,22 +555,16 @@
  public 
-final 
 boolean 
@@ -634,37 +634,134 @@
 ride%0A    public 
-final
+ILockable%3CK%3E lock(final String key) %7B%0A        return mLocks.lock(key);%0A    %7D%0A%0A    @Override%0A    public
  synchronized vo
@@ -902,22 +902,16 @@
  public 
-final 
 synchron

Update SyncLocks.java