.class public final Lcom/google/common/collect/ArrayTable; .super Lcom/google/common/collect/AbstractTable; .source "ArrayTable.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation build Lcom/google/common/annotations/Beta; .end annotation .annotation build Lcom/google/common/annotations/GwtCompatible; emulated = true .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/google/common/collect/ArrayTable$RowMap;, Lcom/google/common/collect/ArrayTable$Row;, Lcom/google/common/collect/ArrayTable$ColumnMap;, Lcom/google/common/collect/ArrayTable$Column;, Lcom/google/common/collect/ArrayTable$ArrayMap; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/AbstractTable", ";", "Ljava/io/Serializable;" } .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field private final array:[[Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "[[TV;" } .end annotation .end field .field private final columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ImmutableMap", ";" } .end annotation .end field .field private final columnList:Lcom/google/common/collect/ImmutableList; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ImmutableList", ";" } .end annotation .end field .field private transient columnMap:Lcom/google/common/collect/ArrayTable$ColumnMap; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ArrayTable", ".ColumnMap;" } .end annotation .end field .field private final rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ImmutableMap", ";" } .end annotation .end field .field private final rowList:Lcom/google/common/collect/ImmutableList; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ImmutableList", ";" } .end annotation .end field .field private transient rowMap:Lcom/google/common/collect/ArrayTable$RowMap; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ArrayTable", ".RowMap;" } .end annotation .end field # direct methods .method private constructor (Lcom/google/common/collect/ArrayTable;)V .locals 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/ArrayTable", ";)V" } .end annotation .prologue const/4 v2, 0x0 .line 180 invoke-direct {p0}, Lcom/google/common/collect/AbstractTable;->()V .line 181 iget-object v0, p1, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; .line 182 iget-object v0, p1, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; .line 183 iget-object v0, p1, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; .line 184 iget-object v0, p1, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; .line 186 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v1}, Lcom/google/common/collect/ImmutableList;->size()I move-result v1 filled-new-array {v0, v1}, [I move-result-object v0 const-class v1, Ljava/lang/Object; invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object; move-result-object v0 check-cast v0, [[Ljava/lang/Object; check-cast v0, [[Ljava/lang/Object; .line 187 iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; .line 189 invoke-virtual {p0}, Lcom/google/common/collect/ArrayTable;->eraseAll()V move v1, v2 .line 190 :goto_0 iget-object v3, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v3}, Lcom/google/common/collect/ImmutableList;->size()I move-result v3 if-ge v1, v3, :cond_0 .line 191 iget-object v3, p1, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v3, v3, v1 aget-object v4, v0, v1 iget-object v5, p1, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v5, v5, v1 array-length v5, v5 invoke-static {v3, v2, v4, v2, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V .line 190 add-int/lit8 v1, v1, 0x1 goto :goto_0 .line 193 :cond_0 return-void .end method .method private constructor (Lcom/google/common/collect/Table;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Table", ";)V" } .end annotation .prologue .line 176 invoke-interface {p1}, Lcom/google/common/collect/Table;->rowKeySet()Ljava/util/Set; move-result-object v0 invoke-interface {p1}, Lcom/google/common/collect/Table;->columnKeySet()Ljava/util/Set; move-result-object v1 invoke-direct {p0, v0, v1}, Lcom/google/common/collect/ArrayTable;->(Ljava/lang/Iterable;Ljava/lang/Iterable;)V .line 177 invoke-virtual {p0, p1}, Lcom/google/common/collect/ArrayTable;->putAll(Lcom/google/common/collect/Table;)V .line 178 return-void .end method .method private constructor (Ljava/lang/Iterable;Ljava/lang/Iterable;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable", "<+TR;>;", "Ljava/lang/Iterable", "<+TC;>;)V" } .end annotation .prologue const/4 v1, 0x1 const/4 v2, 0x0 .line 145 invoke-direct {p0}, Lcom/google/common/collect/AbstractTable;->()V .line 146 invoke-static {p1}, Lcom/google/common/collect/ImmutableList;->copyOf(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; .line 147 invoke-static {p2}, Lcom/google/common/collect/ImmutableList;->copyOf(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; .line 148 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->isEmpty()Z move-result v0 if-nez v0, :cond_0 move v0, v1 :goto_0 invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 149 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->isEmpty()Z move-result v0 if-nez v0, :cond_1 :goto_1 invoke-static {v1}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V .line 156 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-static {v0}, Lcom/google/common/collect/ArrayTable;->index(Ljava/util/List;)Lcom/google/common/collect/ImmutableMap; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; .line 157 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-static {v0}, Lcom/google/common/collect/ArrayTable;->index(Ljava/util/List;)Lcom/google/common/collect/ImmutableMap; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; .line 160 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v1}, Lcom/google/common/collect/ImmutableList;->size()I move-result v1 filled-new-array {v0, v1}, [I move-result-object v0 const-class v1, Ljava/lang/Object; invoke-static {v1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object; move-result-object v0 check-cast v0, [[Ljava/lang/Object; check-cast v0, [[Ljava/lang/Object; .line 162 iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; .line 164 invoke-virtual {p0}, Lcom/google/common/collect/ArrayTable;->eraseAll()V .line 165 return-void :cond_0 move v0, v2 .line 148 goto :goto_0 :cond_1 move v1, v2 .line 149 goto :goto_1 .end method .method static synthetic access$000(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableList; .locals 1 .prologue .line 86 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; return-object v0 .end method .method static synthetic access$100(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableList; .locals 1 .prologue .line 86 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; return-object v0 .end method .method static synthetic access$200(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableMap; .locals 1 .prologue .line 86 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; return-object v0 .end method .method static synthetic access$500(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableMap; .locals 1 .prologue .line 86 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; return-object v0 .end method .method public static create(Lcom/google/common/collect/Table;)Lcom/google/common/collect/ArrayTable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Table", ";)", "Lcom/google/common/collect/ArrayTable", ";" } .end annotation .prologue .line 131 instance-of v0, p0, Lcom/google/common/collect/ArrayTable; if-eqz v0, :cond_0 new-instance v0, Lcom/google/common/collect/ArrayTable; check-cast p0, Lcom/google/common/collect/ArrayTable; invoke-direct {v0, p0}, Lcom/google/common/collect/ArrayTable;->(Lcom/google/common/collect/ArrayTable;)V :goto_0 return-object v0 :cond_0 new-instance v0, Lcom/google/common/collect/ArrayTable; invoke-direct {v0, p0}, Lcom/google/common/collect/ArrayTable;->(Lcom/google/common/collect/Table;)V goto :goto_0 .end method .method public static create(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/ArrayTable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable", "<+TR;>;", "Ljava/lang/Iterable", "<+TC;>;)", "Lcom/google/common/collect/ArrayTable", ";" } .end annotation .prologue .line 99 new-instance v0, Lcom/google/common/collect/ArrayTable; invoke-direct {v0, p0, p1}, Lcom/google/common/collect/ArrayTable;->(Ljava/lang/Iterable;Ljava/lang/Iterable;)V return-object v0 .end method .method private static index(Ljava/util/List;)Lcom/google/common/collect/ImmutableMap; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List", ";)", "Lcom/google/common/collect/ImmutableMap", ";" } .end annotation .prologue .line 168 invoke-static {}, Lcom/google/common/collect/ImmutableMap;->builder()Lcom/google/common/collect/ImmutableMap$Builder; move-result-object v1 .line 169 const/4 v0, 0x0 :goto_0 invoke-interface {p0}, Ljava/util/List;->size()I move-result v2 if-ge v0, v2, :cond_0 .line 170 invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v2 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v3 invoke-virtual {v1, v2, v3}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder; .line 169 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 172 :cond_0 invoke-virtual {v1}, Lcom/google/common/collect/ImmutableMap$Builder;->build()Lcom/google/common/collect/ImmutableMap; move-result-object v0 return-object v0 .end method # virtual methods .method public at(II)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(II)TV;" } .end annotation .prologue .line 332 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 invoke-static {p1, v0}, Lcom/google/common/base/Preconditions;->checkElementIndex(II)I .line 333 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 invoke-static {p2, v0}, Lcom/google/common/base/Preconditions;->checkElementIndex(II)I .line 334 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v0, v0, p1 aget-object v0, v0, p2 return-object v0 .end method .method cellIterator()Ljava/util/Iterator; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator", "<", "Lcom/google/common/collect/Table$Cell", ";>;" } .end annotation .prologue .line 558 new-instance v0, Lcom/google/common/collect/ArrayTable$1; invoke-virtual {p0}, Lcom/google/common/collect/ArrayTable;->size()I move-result v1 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/ArrayTable$1;->(Lcom/google/common/collect/ArrayTable;I)V return-object v0 .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 553 invoke-super {p0}, Lcom/google/common/collect/AbstractTable;->cellSet()Ljava/util/Set; move-result-object v0 return-object v0 .end method .method public clear()V .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 391 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public column(Ljava/lang/Object;)Ljava/util/Map; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)", "Ljava/util/Map", ";" } .end annotation .prologue .line 594 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 595 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 596 if-nez v0, :cond_0 invoke-static {}, Lcom/google/common/collect/ImmutableMap;->of()Lcom/google/common/collect/ImmutableMap; move-result-object v0 :goto_0 return-object v0 :cond_0 new-instance v1, Lcom/google/common/collect/ArrayTable$Column; invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-direct {v1, p0, v0}, Lcom/google/common/collect/ArrayTable$Column;->(Lcom/google/common/collect/ArrayTable;I)V move-object v0, v1 goto :goto_0 .end method .method public columnKeyList()Lcom/google/common/collect/ImmutableList; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableList", ";" } .end annotation .prologue .line 313 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; return-object v0 .end method .method public columnKeySet()Lcom/google/common/collect/ImmutableSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableSet", ";" } .end annotation .prologue .line 632 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->keySet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method public bridge synthetic columnKeySet()Ljava/util/Set; .locals 1 .prologue .line 84 invoke-virtual {p0}, Lcom/google/common/collect/ArrayTable;->columnKeySet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method public columnMap()Ljava/util/Map; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Map", ";>;" } .end annotation .prologue .line 639 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnMap:Lcom/google/common/collect/ArrayTable$ColumnMap; .line 640 if-nez v0, :cond_0 new-instance v0, Lcom/google/common/collect/ArrayTable$ColumnMap; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/ArrayTable$ColumnMap;->(Lcom/google/common/collect/ArrayTable;Lcom/google/common/collect/ArrayTable$1;)V iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnMap:Lcom/google/common/collect/ArrayTable$ColumnMap; :cond_0 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 410 invoke-virtual {p0, p1}, Lcom/google/common/collect/ArrayTable;->containsRow(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 invoke-virtual {p0, p2}, Lcom/google/common/collect/ArrayTable;->containsColumn(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 419 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->containsKey(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 428 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->containsKey(Ljava/lang/Object;)Z move-result v0 return v0 .end method .method public containsValue(Ljava/lang/Object;)Z .locals 8 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue const/4 v0, 0x0 .line 433 iget-object v3, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; array-length v4, v3 move v2, v0 :goto_0 if-ge v2, v4, :cond_0 aget-object v5, v3, v2 .line 434 array-length v6, v5 move v1, v0 :goto_1 if-ge v1, v6, :cond_2 aget-object v7, v5, v1 .line 435 invoke-static {p1, v7}, Lcom/google/common/base/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v7 if-eqz v7, :cond_1 .line 436 const/4 v0, 0x1 .line 440 :cond_0 return v0 .line 434 :cond_1 add-int/lit8 v1, v1, 0x1 goto :goto_1 .line 433 :cond_2 add-int/lit8 v1, v2, 0x1 move v2, v1 goto :goto_0 .end method .method public bridge synthetic equals(Ljava/lang/Object;)Z .locals 1 .prologue .line 84 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractTable;->equals(Ljava/lang/Object;)Z move-result v0 return v0 .end method .method public erase(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 3 .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 const/4 v2, 0x0 .line 523 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 524 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v1, p2}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/Integer; .line 525 if-eqz v0, :cond_0 if-nez v1, :cond_1 :cond_0 move-object v0, v2 .line 528 :goto_0 return-object v0 :cond_1 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I move-result v1 invoke-virtual {p0, v0, v1, v2}, Lcom/google/common/collect/ArrayTable;->set(IILjava/lang/Object;)Ljava/lang/Object; move-result-object v0 goto :goto_0 .end method .method public eraseAll()V .locals 5 .prologue .line 399 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; array-length v2, v1 const/4 v0, 0x0 :goto_0 if-ge v0, v2, :cond_0 aget-object v3, v1, v0 .line 400 const/4 v4, 0x0 invoke-static {v3, v4}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V .line 399 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 402 :cond_0 return-void .end method .method public get(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 2 .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 445 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 446 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v1, p2}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/Integer; .line 447 if-eqz v0, :cond_0 if-nez v1, :cond_1 :cond_0 const/4 v0, 0x0 :goto_0 return-object v0 :cond_1 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I move-result v1 invoke-virtual {p0, v0, v1}, Lcom/google/common/collect/ArrayTable;->at(II)Ljava/lang/Object; move-result-object v0 goto :goto_0 .end method .method public bridge synthetic hashCode()I .locals 1 .prologue .line 84 invoke-super {p0}, Lcom/google/common/collect/AbstractTable;->hashCode()I move-result v0 return v0 .end method .method public isEmpty()Z .locals 1 .prologue .line 456 const/4 v0, 0x0 return v0 .end method .method public put(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 8 .param p3 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TR;TC;TV;)TV;" } .end annotation .prologue const/4 v7, 0x2 const/4 v2, 0x1 const/4 v3, 0x0 .line 467 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 468 invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 469 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 470 if-eqz v0, :cond_0 move v1, v2 :goto_0 const-string v4, "Row %s not in %s" new-array v5, v7, [Ljava/lang/Object; aput-object p1, v5, v3 iget-object v6, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; aput-object v6, v5, v2 invoke-static {v1, v4, v5}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/String;[Ljava/lang/Object;)V .line 471 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->columnKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v1, p2}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/Integer; .line 472 if-eqz v1, :cond_1 move v4, v2 :goto_1 const-string v5, "Column %s not in %s" new-array v6, v7, [Ljava/lang/Object; aput-object p2, v6, v3 iget-object v3, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; aput-object v3, v6, v2 invoke-static {v4, v5, v6}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/String;[Ljava/lang/Object;)V .line 474 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I move-result v1 invoke-virtual {p0, v0, v1, p3}, Lcom/google/common/collect/ArrayTable;->set(IILjava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 :cond_0 move v1, v3 .line 470 goto :goto_0 :cond_1 move v4, v3 .line 472 goto :goto_1 .end method .method public putAll(Lcom/google/common/collect/Table;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Table", "<+TR;+TC;+TV;>;)V" } .end annotation .prologue .line 495 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractTable;->putAll(Lcom/google/common/collect/Table;)V .line 496 return-void .end method .method public remove(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Object;", "Ljava/lang/Object;", ")TV;" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .prologue .line 506 new-instance v0, Ljava/lang/UnsupportedOperationException; invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;->()V throw v0 .end method .method public row(Ljava/lang/Object;)Ljava/util/Map; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TR;)", "Ljava/util/Map", ";" } .end annotation .prologue .line 684 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 685 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 686 if-nez v0, :cond_0 invoke-static {}, Lcom/google/common/collect/ImmutableMap;->of()Lcom/google/common/collect/ImmutableMap; move-result-object v0 :goto_0 return-object v0 :cond_0 new-instance v1, Lcom/google/common/collect/ArrayTable$Row; invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-direct {v1, p0, v0}, Lcom/google/common/collect/ArrayTable$Row;->(Lcom/google/common/collect/ArrayTable;I)V move-object v0, v1 goto :goto_0 .end method .method public rowKeyList()Lcom/google/common/collect/ImmutableList; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableList", ";" } .end annotation .prologue .line 305 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; return-object v0 .end method .method public rowKeySet()Lcom/google/common/collect/ImmutableSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableSet", ";" } .end annotation .prologue .line 721 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowKeyToIndex:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->keySet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method public bridge synthetic rowKeySet()Ljava/util/Set; .locals 1 .prologue .line 84 invoke-virtual {p0}, Lcom/google/common/collect/ArrayTable;->rowKeySet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method public rowMap()Ljava/util/Map; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Map", ";>;" } .end annotation .prologue .line 728 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowMap:Lcom/google/common/collect/ArrayTable$RowMap; .line 729 if-nez v0, :cond_0 new-instance v0, Lcom/google/common/collect/ArrayTable$RowMap; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/ArrayTable$RowMap;->(Lcom/google/common/collect/ArrayTable;Lcom/google/common/collect/ArrayTable$1;)V iput-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowMap:Lcom/google/common/collect/ArrayTable$RowMap; :cond_0 return-object v0 .end method .method public set(IILjava/lang/Object;)Ljava/lang/Object; .locals 2 .param p3 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(IITV;)TV;" } .end annotation .prologue .line 354 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 invoke-static {p1, v0}, Lcom/google/common/base/Preconditions;->checkElementIndex(II)I .line 355 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 invoke-static {p2, v0}, Lcom/google/common/base/Preconditions;->checkElementIndex(II)I .line 356 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v0, v0, p1 aget-object v0, v0, p2 .line 357 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v1, v1, p1 aput-object p3, v1, p2 .line 358 return-object v0 .end method .method public size()I .locals 2 .prologue .line 535 iget-object v0, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->size()I move-result v0 iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v1}, Lcom/google/common/collect/ImmutableList;->size()I move-result v1 mul-int/2addr v0, v1 return v0 .end method .method public toArray(Ljava/lang/Class;)[[Ljava/lang/Object; .locals 6 .annotation build Lcom/google/common/annotations/GwtIncompatible; value = "reflection" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class", ";)[[TV;" } .end annotation .prologue const/4 v2, 0x0 .line 375 const/4 v0, 0x2 new-array v0, v0, [I iget-object v1, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v1}, Lcom/google/common/collect/ImmutableList;->size()I move-result v1 aput v1, v0, v2 const/4 v1, 0x1 iget-object v3, p0, Lcom/google/common/collect/ArrayTable;->columnList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v3}, Lcom/google/common/collect/ImmutableList;->size()I move-result v3 aput v3, v0, v1 invoke-static {p1, v0}, Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object; move-result-object v0 check-cast v0, [[Ljava/lang/Object; check-cast v0, [[Ljava/lang/Object; move v1, v2 .line 377 :goto_0 iget-object v3, p0, Lcom/google/common/collect/ArrayTable;->rowList:Lcom/google/common/collect/ImmutableList; invoke-virtual {v3}, Lcom/google/common/collect/ImmutableList;->size()I move-result v3 if-ge v1, v3, :cond_0 .line 378 iget-object v3, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v3, v3, v1 aget-object v4, v0, v1 iget-object v5, p0, Lcom/google/common/collect/ArrayTable;->array:[[Ljava/lang/Object; aget-object v5, v5, v1 array-length v5, v5 invoke-static {v3, v2, v4, v2, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V .line 377 add-int/lit8 v1, v1, 0x1 goto :goto_0 .line 380 :cond_0 return-object v0 .end method .method public bridge synthetic toString()Ljava/lang/String; .locals 1 .prologue .line 84 invoke-super {p0}, Lcom/google/common/collect/AbstractTable;->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 769 invoke-super {p0}, Lcom/google/common/collect/AbstractTable;->values()Ljava/util/Collection; move-result-object v0 return-object v0 .end method