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

43 lines
975 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* loaded from: classes.dex */
public class uOF<F, S> {
public final S b;
public final F d;
public uOF(F f, S s) {
this.d = f;
this.b = s;
}
public boolean equals(Object obj) {
if (!(obj instanceof uOF)) {
return false;
}
uOF uof = (uOF) obj;
return ZEY.b(uof.d, this.d) && ZEY.b(uof.b, this.b);
}
public int hashCode() {
F f = this.d;
int hashCode = f == null ? 0 : f.hashCode();
S s = this.b;
return hashCode ^ (s != null ? s.hashCode() : 0);
}
public String toString() {
StringBuilder sb = new StringBuilder("Pair{");
sb.append(this.d);
sb.append(" ");
sb.append(this.b);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
public static <A, B> uOF<A, B> c(A a, B b) {
return new uOF<>(a, b);
}
}