You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.9 KiB
72 lines
1.9 KiB
.class Lcom/facebook/internal/ProfileInformationCache; |
|
.super Ljava/lang/Object; |
|
.source "ProfileInformationCache.java" |
|
|
|
|
|
# static fields |
|
.field private static final infoCache:Ljava/util/concurrent/ConcurrentHashMap; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/util/concurrent/ConcurrentHashMap", |
|
"<", |
|
"Ljava/lang/String;", |
|
"Lorg/json/JSONObject;", |
|
">;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method static constructor <clinit>()V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 36 |
|
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap; |
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V |
|
|
|
sput-object v0, Lcom/facebook/internal/ProfileInformationCache;->infoCache:Ljava/util/concurrent/ConcurrentHashMap; |
|
|
|
return-void |
|
.end method |
|
|
|
.method constructor <init>()V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 35 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
.method public static getProfileInformation(Ljava/lang/String;)Lorg/json/JSONObject; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 40 |
|
sget-object v0, Lcom/facebook/internal/ProfileInformationCache;->infoCache:Ljava/util/concurrent/ConcurrentHashMap; |
|
|
|
invoke-virtual {v0, p0}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lorg/json/JSONObject; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static putProfileInformation(Ljava/lang/String;Lorg/json/JSONObject;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 44 |
|
sget-object v0, Lcom/facebook/internal/ProfileInformationCache;->infoCache:Ljava/util/concurrent/ConcurrentHashMap; |
|
|
|
invoke-virtual {v0, p0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 45 |
|
return-void |
|
.end method
|
|
|