.class abstract Lcom/google/common/collect/AbstractTable; .super Ljava/lang/Object; .source "AbstractTable.java" # interfaces .implements Lcom/google/common/collect/Table; # annotations .annotation build Lcom/google/common/annotations/GwtCompatible; .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/google/common/collect/AbstractTable$Values;, Lcom/google/common/collect/AbstractTable$CellSet; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lcom/google/common/collect/Table", ";" } .end annotation # instance fields .field private transient cellSet:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set", "<", "Lcom/google/common/collect/Table$Cell", ";>;" } .end annotation .end field .field private transient values:Ljava/util/Collection; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Collection", ";" } .end annotation .end field # direct methods .method constructor ()V .locals 0 .prologue .line 34 invoke-direct {p0}, Ljava/lang/Object;->()V .line 180 return-void .end method # virtual methods .method abstract cellIterator()Ljava/util/Iterator; .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator", "<", "Lcom/google/common/collect/Table$Cell", ";>;" } .end annotation .end method .method public cellSet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", "<", "Lcom/google/common/collect/Table$Cell", ";>;" } .end annotation .prologue .line 110 iget-object v0, p0, Lcom/google/common/collect/AbstractTable;->cellSet:Ljava/util/Set; .line 111 if-nez v0, :cond_0 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->createCellSet()Ljava/util/Set; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/AbstractTable;->cellSet:Ljava/util/Set; :cond_0 return-object v0 .end method .method public clear()V .locals 1 .prologue .line 85 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->cellSet()Ljava/util/Set; move-result-object v0 invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v0 invoke-static {v0}, Lcom/google/common/collect/Iterators;->clear(Ljava/util/Iterator;)V .line 86 return-void .end method .method public columnKeySet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", ";" } .end annotation .prologue .line 53 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->columnMap()Ljava/util/Map; move-result-object v0 invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set; move-result-object v0 return-object v0 .end method .method public contains(Ljava/lang/Object;Ljava/lang/Object;)Z .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .param p2 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 68 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-static {v0, p1}, Lcom/google/common/collect/Maps;->safeGet(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/Map; .line 69 if-eqz v0, :cond_0 invoke-static {v0, p2}, Lcom/google/common/collect/Maps;->safeContainsKey(Ljava/util/Map;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 const/4 v0, 0x1 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public containsColumn(Ljava/lang/Object;)Z .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 43 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->columnMap()Ljava/util/Map; move-result-object v0 invoke-static {v0, p1}, Lcom/google/common/collect/Maps;->safeContainsKey(Ljava/util/Map;Ljava/lang/Object;)Z move-result v0 return v0 .end method .method public containsRow(Ljava/lang/Object;)Z .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 38 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-static {v0, p1}, Lcom/google/common/collect/Maps;->safeContainsKey(Ljava/util/Map;Ljava/lang/Object;)Z move-result v0 return v0 .end method .method public containsValue(Ljava/lang/Object;)Z .locals 2 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 58 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection; move-result-object v0 invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; move-result-object v1 :cond_0 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_1 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/Map; .line 59 invoke-interface {v0, p1}, Ljava/util/Map;->containsValue(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 .line 60 const/4 v0, 0x1 .line 63 :goto_0 return v0 :cond_1 const/4 v0, 0x0 goto :goto_0 .end method .method createCellSet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", "<", "Lcom/google/common/collect/Table$Cell", ";>;" } .end annotation .prologue .line 115 new-instance v0, Lcom/google/common/collect/AbstractTable$CellSet; invoke-direct {v0, p0}, Lcom/google/common/collect/AbstractTable$CellSet;->(Lcom/google/common/collect/AbstractTable;)V return-object v0 .end method .method createValues()Ljava/util/Collection; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Collection", ";" } .end annotation .prologue .line 168 new-instance v0, Lcom/google/common/collect/AbstractTable$Values; invoke-direct {v0, p0}, Lcom/google/common/collect/AbstractTable$Values;->(Lcom/google/common/collect/AbstractTable;)V return-object v0 .end method .method public equals(Ljava/lang/Object;)Z .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 203 invoke-static {p0, p1}, Lcom/google/common/collect/Tables;->equalsImpl(Lcom/google/common/collect/Table;Ljava/lang/Object;)Z move-result v0 return v0 .end method .method public get(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .param p2 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/lang/Object;", ")TV;" } .end annotation .prologue .line 74 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-static {v0, p1}, Lcom/google/common/collect/Maps;->safeGet(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/Map; .line 75 if-nez v0, :cond_0 const/4 v0, 0x0 :goto_0 return-object v0 :cond_0 invoke-static {v0, p2}, Lcom/google/common/collect/Maps;->safeGet(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 goto :goto_0 .end method .method public hashCode()I .locals 1 .prologue .line 207 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->cellSet()Ljava/util/Set; move-result-object v0 invoke-interface {v0}, Ljava/util/Set;->hashCode()I move-result v0 return v0 .end method .method public isEmpty()Z .locals 1 .prologue .line 80 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->size()I move-result v0 if-nez v0, :cond_0 const/4 v0, 0x1 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public put(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TR;TC;TV;)TV;" } .end annotation .prologue .line 96 invoke-virtual {p0, p1}, Lcom/google/common/collect/AbstractTable;->row(Ljava/lang/Object;)Ljava/util/Map; move-result-object v0 invoke-interface {v0, p2, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public putAll(Lcom/google/common/collect/Table;)V .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Table", "<+TR;+TC;+TV;>;)V" } .end annotation .prologue .line 101 invoke-interface {p1}, Lcom/google/common/collect/Table;->cellSet()Ljava/util/Set; move-result-object v0 invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v1 :goto_0 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_0 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Table$Cell; .line 102 invoke-interface {v0}, Lcom/google/common/collect/Table$Cell;->getRowKey()Ljava/lang/Object; move-result-object v2 invoke-interface {v0}, Lcom/google/common/collect/Table$Cell;->getColumnKey()Ljava/lang/Object; move-result-object v3 invoke-interface {v0}, Lcom/google/common/collect/Table$Cell;->getValue()Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v2, v3, v0}, Lcom/google/common/collect/AbstractTable;->put(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; goto :goto_0 .line 104 :cond_0 return-void .end method .method public remove(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .param p2 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/lang/Object;", ")TV;" } .end annotation .prologue .line 90 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-static {v0, p1}, Lcom/google/common/collect/Maps;->safeGet(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/Map; .line 91 if-nez v0, :cond_0 const/4 v0, 0x0 :goto_0 return-object v0 :cond_0 invoke-static {v0, p2}, Lcom/google/common/collect/Maps;->safeRemove(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 goto :goto_0 .end method .method public rowKeySet()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set", ";" } .end annotation .prologue .line 48 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set; move-result-object v0 return-object v0 .end method .method public toString()Ljava/lang/String; .locals 1 .prologue .line 214 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->rowMap()Ljava/util/Map; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public values()Ljava/util/Collection; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Collection", ";" } .end annotation .prologue .line 163 iget-object v0, p0, Lcom/google/common/collect/AbstractTable;->values:Ljava/util/Collection; .line 164 if-nez v0, :cond_0 invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->createValues()Ljava/util/Collection; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/AbstractTable;->values:Ljava/util/Collection; :cond_0 return-object v0 .end method .method valuesIterator()Ljava/util/Iterator; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator", ";" } .end annotation .prologue .line 172 new-instance v0, Lcom/google/common/collect/AbstractTable$1; invoke-virtual {p0}, Lcom/google/common/collect/AbstractTable;->cellSet()Ljava/util/Set; move-result-object v1 invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v1 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/AbstractTable$1;->(Lcom/google/common/collect/AbstractTable;Ljava/util/Iterator;)V return-object v0 .end method