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

51 lines
1.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes2.dex */
public class nNj<TResult> {
public final WQG<TResult> b = new WQG<>();
public final void c(Exception exc) {
WQG<TResult> wqg = this.b;
synchronized (wqg.c) {
if (wqg.d) {
return;
}
wqg.d = true;
wqg.b = exc;
wqg.c.notifyAll();
wqg.a();
}
}
public final void b(TResult tresult) {
WQG<TResult> wqg = this.b;
synchronized (wqg.c) {
if (wqg.d) {
return;
}
wqg.d = true;
wqg.a = tresult;
wqg.c.notifyAll();
wqg.a();
}
}
public nNj(byte b) {
new Runnable(this) { // from class: o.nNj.2
private nNj c;
@Override // java.lang.Runnable
public final void run() {
this.c.b.f();
}
{
this.c = this;
}
};
}
public nNj() {
}
}