今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

489 lines
13 KiB

.class Lcom/google/common/collect/Tables$TransposeTable;
.super Lcom/google/common/collect/AbstractTable;
.source "Tables.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/Tables;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "TransposeTable"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<C:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/AbstractTable",
"<TC;TR;TV;>;"
}
.end annotation
# static fields
.field private static final TRANSPOSE_CELL:Lcom/google/common/base/Function;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/base/Function",
"<",
"Lcom/google/common/collect/Table$Cell",
"<***>;",
"Lcom/google/common/collect/Table$Cell",
"<***>;>;"
}
.end annotation
.end field
# instance fields
.field final original:Lcom/google/common/collect/Table;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/Table",
"<TR;TC;TV;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
.line 239
new-instance v0, Lcom/google/common/collect/Tables$TransposeTable$1;
invoke-direct {v0}, Lcom/google/common/collect/Tables$TransposeTable$1;-><init>()V
sput-object v0, Lcom/google/common/collect/Tables$TransposeTable;->TRANSPOSE_CELL:Lcom/google/common/base/Function;
return-void
.end method
.method constructor <init>(Lcom/google/common/collect/Table;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/Table",
"<TR;TC;TV;>;)V"
}
.end annotation
.prologue
.line 148
invoke-direct {p0}, Lcom/google/common/collect/AbstractTable;-><init>()V
.line 149
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/collect/Table;
iput-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
.line 150
return-void
.end method
# virtual methods
.method cellIterator()Ljava/util/Iterator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator",
"<",
"Lcom/google/common/collect/Table$Cell",
"<TC;TR;TV;>;>;"
}
.end annotation
.prologue
.line 251
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, 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 v0
sget-object v1, Lcom/google/common/collect/Tables$TransposeTable;->TRANSPOSE_CELL:Lcom/google/common/base/Function;
invoke-static {v0, v1}, Lcom/google/common/collect/Iterators;->transform(Ljava/util/Iterator;Lcom/google/common/base/Function;)Ljava/util/Iterator;
move-result-object v0
return-object v0
.end method
.method public clear()V
.locals 1
.prologue
.line 154
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->clear()V
.line 155
return-void
.end method
.method public column(Ljava/lang/Object;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TR;)",
"Ljava/util/Map",
"<TC;TV;>;"
}
.end annotation
.prologue
.line 159
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p1}, Lcom/google/common/collect/Table;->row(Ljava/lang/Object;)Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public columnKeySet()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set",
"<TR;>;"
}
.end annotation
.prologue
.line 164
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->rowKeySet()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public columnMap()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map",
"<TR;",
"Ljava/util/Map",
"<TC;TV;>;>;"
}
.end annotation
.prologue
.line 169
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->rowMap()Ljava/util/Map;
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 175
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p2, p1}, Lcom/google/common/collect/Table;->contains(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
return v0
.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 180
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p1}, Lcom/google/common/collect/Table;->containsRow(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 185
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p1}, Lcom/google/common/collect/Table;->containsColumn(Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public containsValue(Ljava/lang/Object;)Z
.locals 1
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.prologue
.line 190
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p1}, Lcom/google/common/collect/Table;->containsValue(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 195
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p2, p1}, Lcom/google/common/collect/Table;->get(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
return-object v0
.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 = {
"(TC;TR;TV;)TV;"
}
.end annotation
.prologue
.line 200
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p2, p1, p3}, Lcom/google/common/collect/Table;->put(Ljava/lang/Object;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 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/Table",
"<+TC;+TR;+TV;>;)V"
}
.end annotation
.prologue
.line 205
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-static {p1}, Lcom/google/common/collect/Tables;->transpose(Lcom/google/common/collect/Table;)Lcom/google/common/collect/Table;
move-result-object v1
invoke-interface {v0, v1}, Lcom/google/common/collect/Table;->putAll(Lcom/google/common/collect/Table;)V
.line 206
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 210
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p2, p1}, Lcom/google/common/collect/Table;->remove(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public row(Ljava/lang/Object;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TC;)",
"Ljava/util/Map",
"<TR;TV;>;"
}
.end annotation
.prologue
.line 215
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0, p1}, Lcom/google/common/collect/Table;->column(Ljava/lang/Object;)Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public rowKeySet()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set",
"<TC;>;"
}
.end annotation
.prologue
.line 220
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->columnKeySet()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public rowMap()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map",
"<TC;",
"Ljava/util/Map",
"<TR;TV;>;>;"
}
.end annotation
.prologue
.line 225
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->columnMap()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public size()I
.locals 1
.prologue
.line 230
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->size()I
move-result v0
return v0
.end method
.method public values()Ljava/util/Collection;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Collection",
"<TV;>;"
}
.end annotation
.prologue
.line 235
iget-object v0, p0, Lcom/google/common/collect/Tables$TransposeTable;->original:Lcom/google/common/collect/Table;
invoke-interface {v0}, Lcom/google/common/collect/Table;->values()Ljava/util/Collection;
move-result-object v0
return-object v0
.end method