@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if ( ! (o instanceof IntRange other)) return false;
        if ( ! this.from.equals(other.from)) return false;
        if ( ! this.to.equals(other.to)) return false;
        return true;
    }
Returns the given value adjusted minimally to fit within this range.
config-provisioning/src/main/java/com/yahoo/config/provision/IntRange.java