public boolean remove(Object key, Object value) {
        Object val=get(key);
        boolean removed=val != null && value != null && val.equals(value);

        try {
            MethodCall call=new MethodCall(REMOVE_IF_EQUALS, key, value);
            disp.callRemoteMethods(null, call, call_options);
        }
        catch(Exception e) {
            throw new RuntimeException("remove(" + key + ", " + value + ") failed", e);
        }
        return removed;
    }
public boolean remove ( Object key , Object value ) { Object val = get ( key ) ; boolean removed = val != null && value != null && val . equals ( value ) ; try { MethodCall call = new MethodCall ( REMOVE_IF_EQUALS , key , value ) ; disp . callRemoteMethods ( null , call , call_options ) ; } catch ( Exception e ) { throw new RuntimeException ( "remove(" + key + ", " + value + ") failed" , e ) ; } return removed ; }
@throws NullPointerException if the specified key is null