@@ -0,0 +1,473 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage doublex.lib.locks;%0A%0A/**%0A *%0A * @author DoubleX%0A * @param %3CK%3E%0A */%0Apublic interface ILocks%3CK%3E %7B%0A%0A    ILockable%3CK%3E lock(final String key);%0A%0A    boolean isLocked();%0A%0A    void tryPutLock(final String key, final ILockable%3CK%3E lock);%0A%0A    ILockable%3CK%3E triedTakenLock(final String key);%0A%0A%7D%0A

Create ILocks.java