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

44 lines
1.0 KiB
Java

package o;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import o.HOS;
/* loaded from: classes.dex */
public final class XRa<T> {
final HOS.IeS<T> a;
final Executor b;
final Executor c;
XRa(Executor executor, Executor executor2, HOS.IeS<T> ieS) {
this.b = executor;
this.c = executor2;
this.a = ieS;
}
/* loaded from: classes.dex */
public static final class IeS<T> {
private static final Object c = new Object();
private static Executor e;
private Executor a;
private Executor b;
private final HOS.IeS<T> d;
public IeS(HOS.IeS<T> ieS) {
this.d = ieS;
}
public final XRa<T> e() {
if (this.b == null) {
synchronized (c) {
if (e == null) {
e = Executors.newFixedThreadPool(2);
}
}
this.b = e;
}
return new XRa<>(this.a, this.b, this.d);
}
}
}