/*
 * 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> {

    private final Locks<K> mLocks;

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

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

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

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

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

}

@@ -281,19 +281,40 @@
 Locks%3CK%3E
+ implements ILocks%3CK%3E
  %7B%0A
-
 %0A    pri
@@ -410,32 +410,46 @@
 = locks;%0A    %7D%0A%0A
+    @Override%0A
     public final
@@ -519,32 +519,46 @@
 ck(key);%0A    %7D%0A%0A
+    @Override%0A
     public final
@@ -612,32 +612,46 @@
 ocked();%0A    %7D%0A%0A
+    @Override%0A
     public final
@@ -779,24 +779,38 @@
 ck);%0A    %7D%0A%0A
+    @Override%0A
     public f

Update SyncLocks.java