public boolean equals()

in mantis-runtime-autoscaler-api/src/main/java/io/mantisrx/server/worker/jobmaster/control/AdaptiveAutoscalerConfig.java [100:116]


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof AdaptiveAutoscalerConfig)) return false;
        final AdaptiveAutoscalerConfig other = (AdaptiveAutoscalerConfig) o;
        final Object this$metric = this.getMetric();
        final Object other$metric = other.getMetric();
        if (this$metric == null ? other$metric != null : !this$metric.equals(other$metric)) return false;
        if (Double.compare(this.getSetPoint(), other.getSetPoint()) != 0) return false;
        if (this.isInvert() != other.isInvert()) return false;
        if (Double.compare(this.getRope(), other.getRope()) != 0) return false;
        if (Double.compare(this.getKp(), other.getKp()) != 0) return false;
        if (Double.compare(this.getKi(), other.getKi()) != 0) return false;
        if (Double.compare(this.getKd(), other.getKd()) != 0) return false;
        if (Double.compare(this.getMinScale(), other.getMinScale()) != 0) return false;
        if (Double.compare(this.getMaxScale(), other.getMaxScale()) != 0) return false;
        return true;
    }