50 lines
1.4 KiB
Java
50 lines
1.4 KiB
Java
package f0;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.net.InetSocketAddress;
|
|
import java.net.Proxy;
|
|
/* compiled from: Route.kt */
|
|
public final class c0 {
|
|
public final a a;
|
|
public final Proxy b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final InetSocketAddress f2772c;
|
|
|
|
public c0(a aVar, Proxy proxy, InetSocketAddress inetSocketAddress) {
|
|
m.checkParameterIsNotNull(aVar, "address");
|
|
m.checkParameterIsNotNull(proxy, "proxy");
|
|
m.checkParameterIsNotNull(inetSocketAddress, "socketAddress");
|
|
this.a = aVar;
|
|
this.b = proxy;
|
|
this.f2772c = inetSocketAddress;
|
|
}
|
|
|
|
public final boolean a() {
|
|
return this.a.f != null && this.b.type() == Proxy.Type.HTTP;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj instanceof c0) {
|
|
c0 c0Var = (c0) obj;
|
|
if (m.areEqual(c0Var.a, this.a) && m.areEqual(c0Var.b, this.b) && m.areEqual(c0Var.f2772c, this.f2772c)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int hashCode = this.b.hashCode();
|
|
return this.f2772c.hashCode() + ((hashCode + ((this.a.hashCode() + 527) * 31)) * 31);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder N = a.N("Route{");
|
|
N.append(this.f2772c);
|
|
N.append('}');
|
|
return N.toString();
|
|
}
|
|
}
|