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