public boolean releaseIfHolds ( T referenced ) { Ref ref = references . remove ( referenced ) ; if ( ref != null ) ref . release ( ) ; return ref != null ; }
Release the retained Ref to the provided object if held return false otherwise