package com.palantir.atlasdb.keyvalue.partition;

import com.palantir.atlasdb.keyvalue.api.RangeRequest;
import com.palantir.common.annotation.Immutable;

@Immutable public class ConsistentRingRangeRequest {
    private final RangeRequest rangeRequest;
    public RangeRequest get() {
        return rangeRequest;
    }
    private ConsistentRingRangeRequest(RangeRequest rangeRequest) {
        this.rangeRequest = rangeRequest;
    }
    public static ConsistentRingRangeRequest of(RangeRequest rangeRequest) {
        return new ConsistentRingRangeRequest(rangeRequest);
    }
    public String toString() {
        return "CRRR=[" + rangeRequest + "]";
    }
}

@@ -656,10 +656,305 @@
 ;%0A    %7D%0A
+    @Override%0A    public boolean equals(Object other) %7B%0A        if (other instanceof ConsistentRingRangeRequest == false) %7B%0A            return false;%0A        %7D%0A        ConsistentRingRangeRequest otherCrrr = (ConsistentRingRangeRequest) other;%0A        return get().equals(otherCrrr.get());%0A    %7D%0A
 %7D%0A

Add equals impl to CRRR