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

47 lines
1.0 KiB
Java

package o;
/* loaded from: classes.dex */
public final class HzO<T> {
public final int b;
public final T c;
public HzO(int i, T t) {
this.b = i;
this.c = t;
}
public final int hashCode() {
int i = this.b;
T t = this.c;
return ((i + 679) * 97) + (t != null ? t.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
HzO hzO = (HzO) obj;
if (this.b != hzO.b) {
return false;
}
T t = this.c;
T t2 = hzO.c;
if (t != t2) {
return t != null && t.equals(t2);
}
return true;
}
public final String toString() {
StringBuilder sb = new StringBuilder("IntPair[");
sb.append(this.b);
sb.append(", ");
sb.append(this.c);
sb.append(']');
return sb.toString();
}
}