- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
26 lines
901 B
Java
26 lines
901 B
Java
package com.facebook.internal;
|
|
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class ProfileInformationCache {
|
|
public static final ProfileInformationCache INSTANCE = new ProfileInformationCache();
|
|
private static final ConcurrentHashMap<String, JSONObject> infoCache = new ConcurrentHashMap<>();
|
|
|
|
private ProfileInformationCache() {
|
|
}
|
|
|
|
public static final JSONObject getProfileInformation(String accessToken) {
|
|
Intrinsics.checkNotNullParameter(accessToken, "accessToken");
|
|
return infoCache.get(accessToken);
|
|
}
|
|
|
|
public static final void putProfileInformation(String key, JSONObject value) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
Intrinsics.checkNotNullParameter(value, "value");
|
|
infoCache.put(key, value);
|
|
}
|
|
}
|