Files
rr3-apk/decompiled/sources/com/ironsource/as.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

66 lines
2.0 KiB
Java

package com.ironsource;
import java.util.concurrent.ConcurrentHashMap;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes2.dex */
public final class as implements og {
private final a8 a;
private ConcurrentHashMap<String, Integer> b;
private ConcurrentHashMap<String, Long> c;
public as(a8 storage) {
Intrinsics.checkNotNullParameter(storage, "storage");
this.a = storage;
this.b = new ConcurrentHashMap<>();
this.c = new ConcurrentHashMap<>();
}
@Override // com.ironsource.og
public int a(String identifier) {
Intrinsics.checkNotNullParameter(identifier, "identifier");
Integer num = this.b.get(identifier);
if (num != null) {
return num.intValue();
}
Integer c = this.a.c(identifier);
if (c == null) {
this.b.put(identifier, 0);
return 0;
}
int intValue = c.intValue();
this.b.put(identifier, Integer.valueOf(intValue));
return intValue;
}
@Override // com.ironsource.og
public void a(int i, String identifier) {
Intrinsics.checkNotNullParameter(identifier, "identifier");
this.b.put(identifier, Integer.valueOf(i));
this.a.a(identifier, i);
}
@Override // com.ironsource.og
public void a(long j, String identifier) {
Intrinsics.checkNotNullParameter(identifier, "identifier");
this.c.put(identifier, Long.valueOf(j));
this.a.a(identifier, j);
}
@Override // com.ironsource.og
public Long b(String identifier) {
Intrinsics.checkNotNullParameter(identifier, "identifier");
Long l = this.c.get(identifier);
if (l != null) {
return l;
}
Long a = this.a.a(identifier);
if (a == null) {
return null;
}
long longValue = a.longValue();
this.c.put(identifier, Long.valueOf(longValue));
return Long.valueOf(longValue);
}
}