.class Lcom/google/common/collect/SingletonImmutableTable; .super Lcom/google/common/collect/ImmutableTable; .source "SingletonImmutableTable.java" # annotations .annotation build Lcom/google/common/annotations/GwtCompatible; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/ImmutableTable", ";" } .end annotation # instance fields .field final singleColumnKey:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TC;" } .end annotation .end field .field final singleRowKey:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TR;" } .end annotation .end field .field final singleValue:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TV;" } .end annotation .end field # direct methods .method constructor (Lcom/google/common/collect/Table$Cell;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Table$Cell", ";)V" } .end annotation .prologue .line 43 invoke-interface {p1}, Lcom/google/common/collect/Table$Cell;->getRowKey()Ljava/lang/Object; move-result-object v0 invoke-interface {p1}, Lcom/google/common/collect/Table$Cell;->getColumnKey()Ljava/lang/Object; move-result-object v1 invoke-interface {p1}, Lcom/google/common/collect/Table$Cell;->getValue()Ljava/lang/Object; move-result-object v2 invoke-direct {p0, v0, v1, v2}, Lcom/google/common/collect/SingletonImmutableTable;->(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V .line 44 return-void .end method .method constructor (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TR;TC;TV;)V" } .end annotation .prologue .line 36 invoke-direct {p0}, Lcom/google/common/collect/ImmutableTable;->()V .line 37 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleRowKey:Ljava/lang/Object; .line 38 invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleColumnKey:Ljava/lang/Object; .line 39 invoke-static {p3}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleValue:Ljava/lang/Object; .line 40 return-void .end method # virtual methods .method public column(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)", "Lcom/google/common/collect/ImmutableMap", ";" } .end annotation .prologue .line 47 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 48 invoke-virtual {p0, p1}, Lcom/google/common/collect/SingletonImmutableTable;->containsColumn(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleRowKey:Ljava/lang/Object; iget-object v1, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleValue:Ljava/lang/Object; invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableMap;->of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; move-result-object v0 :goto_0 return-object v0 :cond_0 invoke-static {}, Lcom/google/common/collect/ImmutableMap;->of()Lcom/google/common/collect/ImmutableMap; move-result-object v0 goto :goto_0 .end method .method public bridge synthetic column(Ljava/lang/Object;)Ljava/util/Map; .locals 1 .prologue .line 30 invoke-virtual {p0, p1}, Lcom/google/common/collect/SingletonImmutableTable;->column(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; move-result-object v0 return-object v0 .end method .method public columnMap()Lcom/google/common/collect/ImmutableMap; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableMap", ";>;" } .end annotation .prologue .line 54 iget-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleColumnKey:Ljava/lang/Object; iget-object v1, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleRowKey:Ljava/lang/Object; iget-object v2, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleValue:Ljava/lang/Object; invoke-static {v1, v2}, Lcom/google/common/collect/ImmutableMap;->of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; move-result-object v1 invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableMap;->of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; move-result-object v0 return-object v0 .end method .method public bridge synthetic columnMap()Ljava/util/Map; .locals 1 .prologue .line 30 invoke-virtual {p0}, Lcom/google/common/collect/SingletonImmutableTable;->columnMap()Lcom/google/common/collect/ImmutableMap; move-result-object v0 return-object v0 .end method .method createCellSet()Lcom/google/common/collect/ImmutableSet; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableSet", "<", "Lcom/google/common/collect/Table$Cell", ";>;" } .end annotation .prologue .line 69 iget-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleRowKey:Ljava/lang/Object; iget-object v1, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleColumnKey:Ljava/lang/Object; iget-object v2, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleValue:Ljava/lang/Object; invoke-static {v0, v1, v2}, Lcom/google/common/collect/SingletonImmutableTable;->cellOf(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/Table$Cell; move-result-object v0 invoke-static {v0}, Lcom/google/common/collect/ImmutableSet;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method bridge synthetic createCellSet()Ljava/util/Set; .locals 1 .prologue .line 30 invoke-virtual {p0}, Lcom/google/common/collect/SingletonImmutableTable;->createCellSet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method createValues()Lcom/google/common/collect/ImmutableCollection; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableCollection", ";" } .end annotation .prologue .line 74 iget-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleValue:Ljava/lang/Object; invoke-static {v0}, Lcom/google/common/collect/ImmutableSet;->of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method bridge synthetic createValues()Ljava/util/Collection; .locals 1 .prologue .line 30 invoke-virtual {p0}, Lcom/google/common/collect/SingletonImmutableTable;->createValues()Lcom/google/common/collect/ImmutableCollection; move-result-object v0 return-object v0 .end method .method public rowMap()Lcom/google/common/collect/ImmutableMap; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableMap", ";>;" } .end annotation .prologue .line 59 iget-object v0, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleRowKey:Ljava/lang/Object; iget-object v1, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleColumnKey:Ljava/lang/Object; iget-object v2, p0, Lcom/google/common/collect/SingletonImmutableTable;->singleValue:Ljava/lang/Object; invoke-static {v1, v2}, Lcom/google/common/collect/ImmutableMap;->of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; move-result-object v1 invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableMap;->of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap; move-result-object v0 return-object v0 .end method .method public bridge synthetic rowMap()Ljava/util/Map; .locals 1 .prologue .line 30 invoke-virtual {p0}, Lcom/google/common/collect/SingletonImmutableTable;->rowMap()Lcom/google/common/collect/ImmutableMap; move-result-object v0 return-object v0 .end method .method public size()I .locals 1 .prologue .line 64 const/4 v0, 0x1 return v0 .end method