- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
36 lines
818 B
Java
36 lines
818 B
Java
package com.tapjoy;
|
|
|
|
import java.util.WeakHashMap;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class TJMemoryDataStorage {
|
|
public static TJMemoryDataStorage b;
|
|
public final WeakHashMap a = new WeakHashMap();
|
|
|
|
public Object get(String str) {
|
|
return this.a.get(str);
|
|
}
|
|
|
|
public void put(String str, Object obj) {
|
|
this.a.put(str, obj);
|
|
}
|
|
|
|
public Object remove(String str) {
|
|
return this.a.remove(str);
|
|
}
|
|
|
|
public static TJMemoryDataStorage getInstance() {
|
|
if (b == null) {
|
|
synchronized (TJMemoryDataStorage.class) {
|
|
try {
|
|
if (b == null) {
|
|
b = new TJMemoryDataStorage();
|
|
}
|
|
} finally {
|
|
}
|
|
}
|
|
}
|
|
return b;
|
|
}
|
|
}
|