.class Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader$IdRegistry; .super Ljava/lang/Object; .source "BinaryStreamReader.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "IdRegistry" .end annotation # instance fields .field private map:Ljava/util/Map; # direct methods .method private constructor ()V .locals 1 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V iput-object v0, p0, Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader$IdRegistry;->map:Ljava/util/Map; return-void .end method .method public synthetic constructor (Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader$1;)V .locals 0 .line 3 invoke-direct {p0}, Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader$IdRegistry;->()V return-void .end method # virtual methods .method public get(J)Ljava/lang/String; .locals 2 .line 1 iget-object v0, p0, Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader$IdRegistry;->map:Ljava/util/Map; new-instance v1, Ljava/lang/Long; invoke-direct {v1, p1, p2}, Ljava/lang/Long;->(J)V invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/String; if-eqz v0, :cond_0 return-object v0 .line 2 :cond_0 new-instance v0, Lcom/thoughtworks/xstream/io/StreamException; const-string v1, "Unknown ID : " invoke-static {v1, p1, p2}, Landroidx/camera/core/l1;->a(Ljava/lang/String;J)Ljava/lang/String; move-result-object p1 invoke-direct {v0, p1}, Lcom/thoughtworks/xstream/io/StreamException;->(Ljava/lang/String;)V throw v0 .end method .method public put(JLjava/lang/String;)V .locals 2 .line 1 iget-object v0, p0, Lcom/thoughtworks/xstream/io/binary/BinaryStreamReader$IdRegistry;->map:Ljava/util/Map; new-instance v1, Ljava/lang/Long; invoke-direct {v1, p1, p2}, Ljava/lang/Long;->(J)V invoke-interface {v0, v1, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return-void .end method