50 lines
1.5 KiB
Java
50 lines
1.5 KiB
Java
package c.f.g.f;
|
|
|
|
import androidx.annotation.ColorInt;
|
|
import c.c.a.y.b;
|
|
import java.util.Arrays;
|
|
/* compiled from: RoundingParams */
|
|
public class c {
|
|
public int a = 2;
|
|
public boolean b = false;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public float[] f399c = null;
|
|
public int d = 0;
|
|
public float e = 0.0f;
|
|
public int f = 0;
|
|
public float g = 0.0f;
|
|
public boolean h = false;
|
|
|
|
public c a(@ColorInt int i) {
|
|
this.d = i;
|
|
this.a = 1;
|
|
return this;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || c.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
c cVar = (c) obj;
|
|
if (this.b == cVar.b && this.d == cVar.d && Float.compare(cVar.e, this.e) == 0 && this.f == cVar.f && Float.compare(cVar.g, this.g) == 0 && this.a == cVar.a && this.h == cVar.h) {
|
|
return Arrays.equals(this.f399c, cVar.f399c);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int i = this.a;
|
|
int h = (((i != 0 ? b.h(i) : 0) * 31) + (this.b ? 1 : 0)) * 31;
|
|
float[] fArr = this.f399c;
|
|
int hashCode = (((h + (fArr != null ? Arrays.hashCode(fArr) : 0)) * 31) + this.d) * 31;
|
|
float f = this.e;
|
|
int floatToIntBits = (((hashCode + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31) + this.f) * 31;
|
|
float f2 = this.g;
|
|
return ((((floatToIntBits + (f2 != 0.0f ? Float.floatToIntBits(f2) : 0)) * 31) + 0) * 31) + (this.h ? 1 : 0);
|
|
}
|
|
}
|