Files
rr3-apk/decompiled/sources/com/fyber/inneractive/sdk/external/InneractiveAdSpotManager.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

52 lines
1.6 KiB
Java

package com.fyber.inneractive.sdk.external;
import com.fyber.inneractive.sdk.flow.t;
import java.util.Iterator;
import java.util.concurrent.ConcurrentHashMap;
/* loaded from: classes2.dex */
public class InneractiveAdSpotManager {
public final ConcurrentHashMap a = new ConcurrentHashMap();
public static class a {
public static final InneractiveAdSpotManager a = new InneractiveAdSpotManager();
}
public static void destroy() {
ConcurrentHashMap concurrentHashMap = get().a;
Iterator it = concurrentHashMap.keySet().iterator();
while (it.hasNext()) {
InneractiveAdSpot inneractiveAdSpot = (InneractiveAdSpot) concurrentHashMap.get((String) it.next());
if (inneractiveAdSpot != null) {
inneractiveAdSpot.destroy();
}
}
concurrentHashMap.clear();
}
public static InneractiveAdSpotManager get() {
return a.a;
}
public void bindSpot(InneractiveAdSpot inneractiveAdSpot) {
this.a.put(inneractiveAdSpot.getLocalUniqueId(), inneractiveAdSpot);
}
public InneractiveAdSpot createSpot() {
t tVar = new t();
this.a.put(tVar.a, tVar);
return tVar;
}
public InneractiveAdSpot getSpot(String str) {
return (InneractiveAdSpot) this.a.get(str);
}
public void removeSpot(InneractiveAdSpot inneractiveAdSpot) {
ConcurrentHashMap concurrentHashMap = this.a;
if (concurrentHashMap != null) {
concurrentHashMap.remove(inneractiveAdSpot.getLocalUniqueId());
}
}
}