148 lines
4.0 KiB
Smali
148 lines
4.0 KiB
Smali
.class Lcom/google/common/collect/ArrayTable$2;
|
|
.super Lcom/google/common/collect/Tables$AbstractCell;
|
|
.source "ArrayTable.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/google/common/collect/ArrayTable;->getCell(I)Lcom/google/common/collect/Table$Cell;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/google/common/collect/Tables$AbstractCell<",
|
|
"TR;TC;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final columnIndex:I
|
|
|
|
.field public final rowIndex:I
|
|
|
|
.field public final synthetic this$0:Lcom/google/common/collect/ArrayTable;
|
|
|
|
.field public final synthetic val$index:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/common/collect/ArrayTable;I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/google/common/collect/ArrayTable$2;->this$0:Lcom/google/common/collect/ArrayTable;
|
|
|
|
iput p2, p0, Lcom/google/common/collect/ArrayTable$2;->val$index:I
|
|
|
|
invoke-direct {p0}, Lcom/google/common/collect/Tables$AbstractCell;-><init>()V
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lcom/google/common/collect/ArrayTable;->access$100(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableList;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/util/AbstractCollection;->size()I
|
|
|
|
move-result v0
|
|
|
|
div-int v0, p2, v0
|
|
|
|
iput v0, p0, Lcom/google/common/collect/ArrayTable$2;->rowIndex:I
|
|
|
|
.line 3
|
|
invoke-static {p1}, Lcom/google/common/collect/ArrayTable;->access$100(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableList;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/util/AbstractCollection;->size()I
|
|
|
|
move-result p1
|
|
|
|
rem-int/2addr p2, p1
|
|
|
|
iput p2, p0, Lcom/google/common/collect/ArrayTable$2;->columnIndex:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getColumnKey()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TC;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/common/collect/ArrayTable$2;->this$0:Lcom/google/common/collect/ArrayTable;
|
|
|
|
invoke-static {v0}, Lcom/google/common/collect/ArrayTable;->access$100(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableList;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/google/common/collect/ArrayTable$2;->columnIndex:I
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getRowKey()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TR;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/common/collect/ArrayTable$2;->this$0:Lcom/google/common/collect/ArrayTable;
|
|
|
|
invoke-static {v0}, Lcom/google/common/collect/ArrayTable;->access$200(Lcom/google/common/collect/ArrayTable;)Lcom/google/common/collect/ImmutableList;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/google/common/collect/ArrayTable$2;->rowIndex:I
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getValue()Ljava/lang/Object;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TV;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljavax/annotation/CheckForNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/common/collect/ArrayTable$2;->this$0:Lcom/google/common/collect/ArrayTable;
|
|
|
|
iget v1, p0, Lcom/google/common/collect/ArrayTable$2;->rowIndex:I
|
|
|
|
iget v2, p0, Lcom/google/common/collect/ArrayTable$2;->columnIndex:I
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/google/common/collect/ArrayTable;->at(II)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|