what-the-bank/sources/o/qCz.java

42 lines
982 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes2.dex */
public class qCz {
public final float a;
public final float e;
public qCz(float f, float f2) {
this.a = f;
this.e = f2;
}
public final boolean equals(Object obj) {
if (!(obj instanceof qCz)) {
return false;
}
qCz qcz = (qCz) obj;
return this.a == qcz.a && this.e == qcz.e;
}
public final int hashCode() {
return (Float.floatToIntBits(this.a) * 31) + Float.floatToIntBits(this.e);
}
public final String toString() {
StringBuilder sb = new StringBuilder("(");
sb.append(this.a);
sb.append(',');
sb.append(this.e);
sb.append(')');
return sb.toString();
}
public static float b(qCz qcz, qCz qcz2) {
float f = qcz.a;
float f2 = qcz.e;
double d = f - qcz2.a;
double d2 = f2 - qcz2.e;
return (float) Math.sqrt((d * d) + (d2 * d2));
}
}