what-the-bank/sources/com/facetec/sdk/kj.java

64 lines
1.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.facetec.sdk;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import java.net.InetSocketAddress;
import java.net.Proxy;
/* loaded from: classes.dex */
public final class kj {
private jj b;
private InetSocketAddress c;
private Proxy e;
public kj(jj jjVar, Proxy proxy, InetSocketAddress inetSocketAddress) {
if (jjVar == null) {
throw new NullPointerException("address == null");
}
if (proxy == null) {
throw new NullPointerException("proxy == null");
}
if (inetSocketAddress == null) {
throw new NullPointerException("inetSocketAddress == null");
}
this.b = jjVar;
this.e = proxy;
this.c = inetSocketAddress;
}
public final boolean a() {
return this.b.c != null && this.e.type() == Proxy.Type.HTTP;
}
public final boolean equals(Object obj) {
if (!(obj instanceof kj)) {
return false;
}
kj kjVar = (kj) obj;
return kjVar.b.equals(this.b) && kjVar.e.equals(this.e) && kjVar.c.equals(this.c);
}
public final int hashCode() {
int hashCode = this.b.hashCode();
return ((((hashCode + 527) * 31) + this.e.hashCode()) * 31) + this.c.hashCode();
}
public final String toString() {
StringBuilder sb = new StringBuilder("Route{");
sb.append(this.c);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
public final jj e() {
return this.b;
}
public final InetSocketAddress c() {
return this.c;
}
public final Proxy b() {
return this.e;
}
}