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

101 lines
2.7 KiB
Java

package o;
import java.math.BigInteger;
/* loaded from: classes.dex */
public final class xxy implements Comparable<xxy> {
public static final IeS b = new IeS((byte) 0);
private static final xxy e;
final int a;
final int c;
final int d;
private final InterfaceC13393fZL h;
private final String i;
private xxy(int i, int i2, int i3, String str) {
this.c = i;
this.a = i2;
this.d = i3;
this.i = str;
LWm lWm = new LWm(this);
C14957gcv.e(lWm, "");
this.h = new fZZ(lWm);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<BigInteger> {
final xxy b;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ BigInteger invoke() {
return BigInteger.valueOf(this.b.c).shiftLeft(32).or(BigInteger.valueOf(this.b.a)).shiftLeft(32).or(BigInteger.valueOf(this.b.d));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(xxy xxyVar) {
super(0);
this.b = xxyVar;
}
}
public final String toString() {
String c = gdZ.d((CharSequence) this.i) ^ true ? C14957gcv.c("-", (Object) this.i) : "";
StringBuilder sb = new StringBuilder();
sb.append(this.c);
sb.append('.');
sb.append(this.a);
sb.append('.');
sb.append(this.d);
sb.append(c);
return sb.toString();
}
@Override // java.lang.Comparable
/* renamed from: d */
public final int compareTo(xxy xxyVar) {
C14957gcv.e(xxyVar, "");
Object e2 = this.h.e();
C14957gcv.c(e2, "");
Object e3 = xxyVar.h.e();
C14957gcv.c(e3, "");
return ((BigInteger) e2).compareTo((BigInteger) e3);
}
public final boolean equals(Object obj) {
if (!(obj instanceof xxy)) {
return false;
}
xxy xxyVar = (xxy) obj;
return this.c == xxyVar.c && this.a == xxyVar.a && this.d == xxyVar.d;
}
/* loaded from: classes.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
static {
new xxy(0, 0, 0, "");
e = new xxy(0, 1, 0, "");
new xxy(1, 0, 0, "");
}
public final int hashCode() {
return ((((this.c + 527) * 31) + this.a) * 31) + this.d;
}
public static final /* synthetic */ xxy d() {
return e;
}
public /* synthetic */ xxy(int i, int i2, int i3, String str, byte b2) {
this(i, i2, i3, str);
}
}