.class Lcom/google/common/collect/TreeBasedTable$TreeRow; .super Lcom/google/common/collect/StandardTable$Row; .source "TreeBasedTable.java" # interfaces .implements Ljava/util/SortedMap; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/collect/TreeBasedTable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x2 name = "TreeRow" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/StandardTable", ".Row;", "Ljava/util/SortedMap", ";" } .end annotation # instance fields .field final lowerBound:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TC;" } .end annotation .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field final synthetic this$0:Lcom/google/common/collect/TreeBasedTable; .field final upperBound:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TC;" } .end annotation .annotation runtime Ljavax/annotation/Nullable; .end annotation .end field .field transient wholeRow:Ljava/util/SortedMap; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/SortedMap", ";" } .end annotation .end field # direct methods .method constructor (Lcom/google/common/collect/TreeBasedTable;Ljava/lang/Object;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TR;)V" } .end annotation .prologue const/4 v0, 0x0 .line 185 invoke-direct {p0, p1, p2, v0, v0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->(Lcom/google/common/collect/TreeBasedTable;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V .line 186 return-void .end method .method constructor (Lcom/google/common/collect/TreeBasedTable;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V .locals 1 .param p3 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .param p4 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TR;TC;TC;)V" } .end annotation .prologue .line 188 iput-object p1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; .line 189 invoke-direct {p0, p1, p2}, Lcom/google/common/collect/StandardTable$Row;->(Lcom/google/common/collect/StandardTable;Ljava/lang/Object;)V .line 190 iput-object p3, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->lowerBound:Ljava/lang/Object; .line 191 iput-object p4, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->upperBound:Ljava/lang/Object; .line 192 if-eqz p3, :cond_0 if-eqz p4, :cond_0 invoke-virtual {p0, p3, p4}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->compare(Ljava/lang/Object;Ljava/lang/Object;)I move-result v0 if-gtz v0, :cond_1 :cond_0 const/4 v0, 0x1 :goto_0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 194 return-void .line 192 :cond_1 const/4 v0, 0x0 goto :goto_0 .end method # virtual methods .method bridge synthetic backingRowMap()Ljava/util/Map; .locals 1 .prologue .line 180 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->backingRowMap()Ljava/util/SortedMap; move-result-object v0 return-object v0 .end method .method backingRowMap()Ljava/util/SortedMap; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/SortedMap", ";" } .end annotation .prologue .line 264 invoke-super {p0}, Lcom/google/common/collect/StandardTable$Row;->backingRowMap()Ljava/util/Map; move-result-object v0 check-cast v0, Ljava/util/SortedMap; return-object v0 .end method .method public comparator()Ljava/util/Comparator; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Comparator", "<-TC;>;" } .end annotation .prologue .line 201 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; invoke-virtual {v0}, Lcom/google/common/collect/TreeBasedTable;->columnComparator()Ljava/util/Comparator; move-result-object v0 return-object v0 .end method .method compare(Ljava/lang/Object;Ljava/lang/Object;)I .locals 1 .prologue .line 207 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->comparator()Ljava/util/Comparator; move-result-object v0 .line 208 invoke-interface {v0, p1, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I move-result v0 return v0 .end method .method bridge synthetic computeBackingRowMap()Ljava/util/Map; .locals 1 .prologue .line 180 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->computeBackingRowMap()Ljava/util/SortedMap; move-result-object v0 return-object v0 .end method .method computeBackingRowMap()Ljava/util/SortedMap; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/SortedMap", ";" } .end annotation .prologue .line 269 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow()Ljava/util/SortedMap; move-result-object v0 .line 270 if-eqz v0, :cond_2 .line 271 iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->lowerBound:Ljava/lang/Object; if-eqz v1, :cond_0 .line 272 iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->lowerBound:Ljava/lang/Object; invoke-interface {v0, v1}, Ljava/util/SortedMap;->tailMap(Ljava/lang/Object;)Ljava/util/SortedMap; move-result-object v0 .line 274 :cond_0 iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->upperBound:Ljava/lang/Object; if-eqz v1, :cond_1 .line 275 iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->upperBound:Ljava/lang/Object; invoke-interface {v0, v1}, Ljava/util/SortedMap;->headMap(Ljava/lang/Object;)Ljava/util/SortedMap; move-result-object v0 .line 279 :cond_1 :goto_0 return-object v0 :cond_2 const/4 v0, 0x0 goto :goto_0 .end method .method public containsKey(Ljava/lang/Object;)Z .locals 1 .prologue .line 292 invoke-virtual {p0, p1}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rangeContains(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 invoke-super {p0, p1}, Lcom/google/common/collect/StandardTable$Row;->containsKey(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 firstKey()Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()TC;" } .end annotation .prologue .line 233 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->backingRowMap()Ljava/util/SortedMap; move-result-object v0 .line 234 if-nez v0, :cond_0 .line 235 new-instance v0, Ljava/util/NoSuchElementException; invoke-direct {v0}, Ljava/util/NoSuchElementException;->()V throw v0 .line 237 :cond_0 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->backingRowMap()Ljava/util/SortedMap; move-result-object v0 invoke-interface {v0}, Ljava/util/SortedMap;->firstKey()Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method public headMap(Ljava/lang/Object;)Ljava/util/SortedMap; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)", "Ljava/util/SortedMap", ";" } .end annotation .prologue .line 223 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rangeContains(Ljava/lang/Object;)Z move-result v0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 224 new-instance v0, Lcom/google/common/collect/TreeBasedTable$TreeRow; iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; iget-object v2, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rowKey:Ljava/lang/Object; iget-object v3, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->lowerBound:Ljava/lang/Object; invoke-direct {v0, v1, v2, v3, p1}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->(Lcom/google/common/collect/TreeBasedTable;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V return-object v0 .end method .method public bridge synthetic keySet()Ljava/util/Set; .locals 1 .prologue .line 180 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->keySet()Ljava/util/SortedSet; move-result-object v0 return-object v0 .end method .method public keySet()Ljava/util/SortedSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/SortedSet", ";" } .end annotation .prologue .line 197 new-instance v0, Lcom/google/common/collect/Maps$SortedKeySet; invoke-direct {v0, p0}, Lcom/google/common/collect/Maps$SortedKeySet;->(Ljava/util/SortedMap;)V return-object v0 .end method .method public lastKey()Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()TC;" } .end annotation .prologue .line 241 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->backingRowMap()Ljava/util/SortedMap; move-result-object v0 .line 242 if-nez v0, :cond_0 .line 243 new-instance v0, Ljava/util/NoSuchElementException; invoke-direct {v0}, Ljava/util/NoSuchElementException;->()V throw v0 .line 245 :cond_0 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->backingRowMap()Ljava/util/SortedMap; move-result-object v0 invoke-interface {v0}, Ljava/util/SortedMap;->lastKey()Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method maintainEmptyInvariant()V .locals 3 .prologue const/4 v2, 0x0 .line 284 invoke-virtual {p0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow()Ljava/util/SortedMap; move-result-object v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow:Ljava/util/SortedMap; invoke-interface {v0}, Ljava/util/SortedMap;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 .line 285 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; iget-object v0, v0, Lcom/google/common/collect/TreeBasedTable;->backingMap:Ljava/util/Map; iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rowKey:Ljava/lang/Object; invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object; .line 286 iput-object v2, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow:Ljava/util/SortedMap; .line 287 iput-object v2, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->backingRowMap:Ljava/util/Map; .line 289 :cond_0 return-void .end method .method public put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TC;TV;)TV;" } .end annotation .prologue .line 296 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rangeContains(Ljava/lang/Object;)Z move-result v0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 297 invoke-super {p0, p1, p2}, Lcom/google/common/collect/StandardTable$Row;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method rangeContains(Ljava/lang/Object;)Z .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 212 if-eqz p1, :cond_2 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->lowerBound:Ljava/lang/Object; if-eqz v0, :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->lowerBound:Ljava/lang/Object; invoke-virtual {p0, v0, p1}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->compare(Ljava/lang/Object;Ljava/lang/Object;)I move-result v0 if-gtz v0, :cond_2 :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->upperBound:Ljava/lang/Object; if-eqz v0, :cond_1 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->upperBound:Ljava/lang/Object; invoke-virtual {p0, v0, p1}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->compare(Ljava/lang/Object;Ljava/lang/Object;)I move-result v0 if-lez v0, :cond_2 :cond_1 const/4 v0, 0x1 :goto_0 return v0 :cond_2 const/4 v0, 0x0 goto :goto_0 .end method .method public subMap(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/SortedMap; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(TC;TC;)", "Ljava/util/SortedMap", ";" } .end annotation .prologue .line 217 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rangeContains(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rangeContains(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 const/4 v0, 0x1 :goto_0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 219 new-instance v0, Lcom/google/common/collect/TreeBasedTable$TreeRow; iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; iget-object v2, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rowKey:Ljava/lang/Object; invoke-direct {v0, v1, v2, p1, p2}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->(Lcom/google/common/collect/TreeBasedTable;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V return-object v0 .line 217 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public tailMap(Ljava/lang/Object;)Ljava/util/SortedMap; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)", "Ljava/util/SortedMap", ";" } .end annotation .prologue .line 228 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rangeContains(Ljava/lang/Object;)Z move-result v0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 229 new-instance v0, Lcom/google/common/collect/TreeBasedTable$TreeRow; iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; iget-object v2, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rowKey:Ljava/lang/Object; iget-object v3, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->upperBound:Ljava/lang/Object; invoke-direct {v0, v1, v2, p1, v3}, Lcom/google/common/collect/TreeBasedTable$TreeRow;->(Lcom/google/common/collect/TreeBasedTable;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V return-object v0 .end method .method wholeRow()Ljava/util/SortedMap; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/SortedMap", ";" } .end annotation .prologue .line 255 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow:Ljava/util/SortedMap; if-eqz v0, :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow:Ljava/util/SortedMap; invoke-interface {v0}, Ljava/util/SortedMap;->isEmpty()Z move-result v0 if-eqz v0, :cond_1 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; iget-object v0, v0, Lcom/google/common/collect/TreeBasedTable;->backingMap:Ljava/util/Map; iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rowKey:Ljava/lang/Object; invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_1 .line 257 :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->this$0:Lcom/google/common/collect/TreeBasedTable; iget-object v0, v0, Lcom/google/common/collect/TreeBasedTable;->backingMap:Ljava/util/Map; iget-object v1, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->rowKey:Ljava/lang/Object; invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/SortedMap; iput-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow:Ljava/util/SortedMap; .line 259 :cond_1 iget-object v0, p0, Lcom/google/common/collect/TreeBasedTable$TreeRow;->wholeRow:Ljava/util/SortedMap; return-object v0 .end method