NetMirror.apk
Download file
package b3;
import java.io.InterruptedIOException;
import java.util.concurrent.TimeUnit;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* JADX INFO: loaded from: classes.dex */
public class G {
/* JADX INFO: renamed from: a, reason: collision with root package name */
private boolean f5607a;
/* JADX INFO: renamed from: b, reason: collision with root package name */
private long f5608b;
/* JADX INFO: renamed from: c, reason: collision with root package name */
private long f5609c;
/* JADX INFO: renamed from: e, reason: collision with root package name */
public static final b f5606e = new b(null);
/* JADX INFO: renamed from: d, reason: collision with root package name */
public static final G f5605d = new a();
public static final class b {
private b() {
}
public /* synthetic */ b(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
public G a() {
this.f5607a = false;
return this;
}
public G b() {
this.f5609c = 0L;
return this;
}
public long c() {
if (this.f5607a) {
return this.f5608b;
}
throw new IllegalStateException("No deadline");
}
public G d(long j3) {
this.f5607a = true;
this.f5608b = j3;
return this;
}
public boolean e() {
return this.f5607a;
}
public void f() throws InterruptedIOException {
if (Thread.interrupted()) {
Thread.currentThread().interrupt();
throw new InterruptedIOException("interrupted");
}
if (this.f5607a && this.f5608b - System.nanoTime() <= 0) {
throw new InterruptedIOException("deadline reached");
}
}
public G g(long j3, TimeUnit timeUnit) {
D2.h.f(timeUnit, "unit");
if (j3 >= 0) {
this.f5609c = timeUnit.toNanos(j3);
return this;
}
throw new IllegalArgumentException(("timeout < 0: " + j3).toString());
}
public long h() {
return this.f5609c;
}
public static final class a extends G {
a() {
}
@Override // b3.G
public G g(long j3, TimeUnit timeUnit) {
D2.h.f(timeUnit, "unit");
return this;
}
@Override // b3.G
public void f() {
}
@Override // b3.G
public G d(long j3) {
return this;
}
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file