Files
rr3-apk/decompiled/sources/com/ironsource/k8.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

49 lines
981 B
Java

package com.ironsource;
import java.util.ArrayList;
/* loaded from: classes2.dex */
public class k8 {
private a a = a.NOT_READY;
private ArrayList b = new ArrayList();
private String c;
public enum a {
NOT_READY,
READY
}
public k8(String str) {
this.c = str;
}
public synchronized void a() {
try {
Object[] array = this.b.toArray();
for (int i = 0; i < array.length; i++) {
((Runnable) array[i]).run();
array[i] = null;
}
this.b.clear();
} catch (Throwable th) {
throw th;
}
}
public synchronized void a(Runnable runnable) {
if (this.a != a.READY) {
this.b.add(runnable);
} else {
runnable.run();
}
}
public synchronized void b() {
this.a = a.NOT_READY;
}
public synchronized void c() {
this.a = a.READY;
}
}