.class Lcom/google/common/collect/MapConstraints$ConstrainedBiMap; .super Lcom/google/common/collect/MapConstraints$ConstrainedMap; .source "MapConstraints.java" # interfaces .implements Lcom/google/common/collect/BiMap; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/collect/MapConstraints; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0xa name = "ConstrainedBiMap" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/MapConstraints$ConstrainedMap", ";", "Lcom/google/common/collect/BiMap", ";" } .end annotation # instance fields .field volatile inverse:Lcom/google/common/collect/BiMap; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/BiMap", ";" } .end annotation .end field # direct methods .method constructor (Lcom/google/common/collect/BiMap;Lcom/google/common/collect/BiMap;Lcom/google/common/collect/MapConstraint;)V .locals 0 .param p2 # Lcom/google/common/collect/BiMap; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/BiMap", ";", "Lcom/google/common/collect/BiMap", ";", "Lcom/google/common/collect/MapConstraint", "<-TK;-TV;>;)V" } .end annotation .prologue .line 356 invoke-direct {p0, p1, p3}, Lcom/google/common/collect/MapConstraints$ConstrainedMap;->(Ljava/util/Map;Lcom/google/common/collect/MapConstraint;)V .line 357 iput-object p2, p0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->inverse:Lcom/google/common/collect/BiMap; .line 358 return-void .end method # virtual methods .method protected delegate()Lcom/google/common/collect/BiMap; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/BiMap", ";" } .end annotation .prologue .line 361 invoke-super {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedMap;->delegate()Ljava/util/Map; move-result-object v0 check-cast v0, Lcom/google/common/collect/BiMap; return-object v0 .end method .method protected bridge synthetic delegate()Ljava/lang/Object; .locals 1 .prologue .line 338 invoke-virtual {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->delegate()Lcom/google/common/collect/BiMap; move-result-object v0 return-object v0 .end method .method protected bridge synthetic delegate()Ljava/util/Map; .locals 1 .prologue .line 338 invoke-virtual {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->delegate()Lcom/google/common/collect/BiMap; move-result-object v0 return-object v0 .end method .method public forcePut(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TK;TV;)TV;" } .end annotation .prologue .line 366 iget-object v0, p0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->constraint:Lcom/google/common/collect/MapConstraint; invoke-interface {v0, p1, p2}, Lcom/google/common/collect/MapConstraint;->checkKeyValue(Ljava/lang/Object;Ljava/lang/Object;)V .line 367 invoke-virtual {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->delegate()Lcom/google/common/collect/BiMap; move-result-object v0 invoke-interface {v0, p1, p2}, Lcom/google/common/collect/BiMap;->forcePut(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public inverse()Lcom/google/common/collect/BiMap; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/BiMap", ";" } .end annotation .prologue .line 372 iget-object v0, p0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->inverse:Lcom/google/common/collect/BiMap; if-nez v0, :cond_0 .line 373 new-instance v0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap; invoke-virtual {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->delegate()Lcom/google/common/collect/BiMap; move-result-object v1 invoke-interface {v1}, Lcom/google/common/collect/BiMap;->inverse()Lcom/google/common/collect/BiMap; move-result-object v1 new-instance v2, Lcom/google/common/collect/MapConstraints$InverseConstraint; iget-object v3, p0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->constraint:Lcom/google/common/collect/MapConstraint; invoke-direct {v2, v3}, Lcom/google/common/collect/MapConstraints$InverseConstraint;->(Lcom/google/common/collect/MapConstraint;)V invoke-direct {v0, v1, p0, v2}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->(Lcom/google/common/collect/BiMap;Lcom/google/common/collect/BiMap;Lcom/google/common/collect/MapConstraint;)V iput-object v0, p0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->inverse:Lcom/google/common/collect/BiMap; .line 376 :cond_0 iget-object v0, p0, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->inverse:Lcom/google/common/collect/BiMap; return-object v0 .end method .method public bridge synthetic values()Ljava/util/Collection; .locals 1 .prologue .line 338 invoke-virtual {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->values()Ljava/util/Set; move-result-object v0 return-object v0 .end method .method public values()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", ";" } .end annotation .prologue .line 380 invoke-virtual {p0}, Lcom/google/common/collect/MapConstraints$ConstrainedBiMap;->delegate()Lcom/google/common/collect/BiMap; move-result-object v0 invoke-interface {v0}, Lcom/google/common/collect/BiMap;->values()Ljava/util/Set; move-result-object v0 return-object v0 .end method