package androidx.databinding; import android.os.Parcel; import android.os.Parcelable; import java.io.Serializable; /* loaded from: classes.dex */ public class ObservableDouble extends BaseObservableField implements Parcelable, Serializable { public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: androidx.databinding.ObservableDouble.1 /* JADX WARN: Can't rename method to resolve collision */ @Override // android.os.Parcelable.Creator public ObservableDouble createFromParcel(Parcel parcel) { return new ObservableDouble(parcel.readDouble()); } /* JADX WARN: Can't rename method to resolve collision */ @Override // android.os.Parcelable.Creator public ObservableDouble[] newArray(int i) { return new ObservableDouble[i]; } }; static final long serialVersionUID = 1; private double mValue; @Override // android.os.Parcelable public int describeContents() { return 0; } public double get() { return this.mValue; } public ObservableDouble(double d) { this.mValue = d; } public ObservableDouble() { } public ObservableDouble(Observable... observableArr) { super(observableArr); } public void set(double d) { if (d != this.mValue) { this.mValue = d; notifyChange(); } } @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i) { parcel.writeDouble(this.mValue); } }