.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 ()V .locals 1 .prologue .line 36 new-instance v0, Ljava/util/concurrent/ConcurrentHashMap; invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;->()V sput-object v0, Lcom/facebook/internal/ProfileInformationCache;->infoCache:Ljava/util/concurrent/ConcurrentHashMap; return-void .end method .method constructor ()V .locals 0 .prologue .line 35 invoke-direct {p0}, Ljava/lang/Object;->()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