package com.amplifyframework.analytics;

import java.util.Objects;

/* loaded from: classes4.dex */
public final class AnalyticsDoubleProperty implements AnalyticsPropertyBehavior<Double> {
    private final Double value;

    private AnalyticsDoubleProperty(Double d10) {
        this.value = d10;
    }

    public static AnalyticsDoubleProperty from(Double d10) {
        Objects.requireNonNull(d10);
        return new AnalyticsDoubleProperty(d10);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || AnalyticsDoubleProperty.class != obj.getClass()) {
            return false;
        }
        return s3.d.a(getValue(), ((AnalyticsDoubleProperty) obj).getValue());
    }

    public int hashCode() {
        return getValue().hashCode();
    }

    public String toString() {
        return "AnalyticsDoubleProperty{value=" + this.value + '}';
    }

    /* JADX WARN: Can't rename method to resolve collision */
    @Override // com.amplifyframework.analytics.AnalyticsPropertyBehavior
    public Double getValue() {
        return this.value;
    }
}
