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.
323 lines
8.6 KiB
323 lines
8.6 KiB
.class Lcom/google/common/collect/StandardTable$Column; |
|
.super Lcom/google/common/collect/Maps$ImprovedAbstractMap; |
|
.source "StandardTable.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/collect/StandardTable; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x2 |
|
name = "Column" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/MemberClasses; |
|
value = { |
|
Lcom/google/common/collect/StandardTable$Column$Values;, |
|
Lcom/google/common/collect/StandardTable$Column$KeySet;, |
|
Lcom/google/common/collect/StandardTable$Column$EntrySetIterator;, |
|
Lcom/google/common/collect/StandardTable$Column$EntrySet; |
|
} |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/Maps$ImprovedAbstractMap", |
|
"<TR;TV;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final columnKey:Ljava/lang/Object; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"TC;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field final synthetic this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/collect/StandardTable;Ljava/lang/Object;)V |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TC;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 399 |
|
iput-object p1, p0, Lcom/google/common/collect/StandardTable$Column;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
invoke-direct {p0}, Lcom/google/common/collect/Maps$ImprovedAbstractMap;-><init>()V |
|
|
|
.line 400 |
|
invoke-static {p2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
.line 401 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public containsKey(Ljava/lang/Object;)Z |
|
.locals 2 |
|
|
|
.prologue |
|
.line 412 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$Column;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/google/common/collect/StandardTable;->contains(Ljava/lang/Object;Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method createEntrySet()Ljava/util/Set; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Set", |
|
"<", |
|
"Ljava/util/Map$Entry", |
|
"<TR;TV;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 444 |
|
new-instance v0, Lcom/google/common/collect/StandardTable$Column$EntrySet; |
|
|
|
const/4 v1, 0x0 |
|
|
|
invoke-direct {v0, p0, v1}, Lcom/google/common/collect/StandardTable$Column$EntrySet;-><init>(Lcom/google/common/collect/StandardTable$Column;Lcom/google/common/collect/StandardTable$1;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method createKeySet()Ljava/util/Set; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Set", |
|
"<TR;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 516 |
|
new-instance v0, Lcom/google/common/collect/StandardTable$Column$KeySet; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/StandardTable$Column$KeySet;-><init>(Lcom/google/common/collect/StandardTable$Column;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method createValues()Ljava/util/Collection; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Collection", |
|
"<TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 539 |
|
new-instance v0, Lcom/google/common/collect/StandardTable$Column$Values; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/StandardTable$Column$Values;-><init>(Lcom/google/common/collect/StandardTable$Column;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public get(Ljava/lang/Object;)Ljava/lang/Object; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Ljava/lang/Object;", |
|
")TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 408 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$Column;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/google/common/collect/StandardTable;->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; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TR;TV;)TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 404 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$Column;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0, p1, v1, p2}, Lcom/google/common/collect/StandardTable;->put(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public remove(Ljava/lang/Object;)Ljava/lang/Object; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Ljava/lang/Object;", |
|
")TV;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 416 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$Column;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/google/common/collect/StandardTable;->remove(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method removeFromColumnIf(Lcom/google/common/base/Predicate;)Z |
|
.locals 5 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/base/Predicate", |
|
"<-", |
|
"Ljava/util/Map$Entry", |
|
"<TR;TV;>;>;)Z" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 424 |
|
const/4 v0, 0x0 |
|
|
|
.line 425 |
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$Column;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
iget-object v1, v1, Lcom/google/common/collect/StandardTable;->backingMap:Ljava/util/Map; |
|
|
|
invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v3 |
|
|
|
move v2, v0 |
|
|
|
.line 427 |
|
:goto_0 |
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 428 |
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Map$Entry; |
|
|
|
.line 429 |
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
|
|
|
move-result-object v1 |
|
|
|
check-cast v1, Ljava/util/Map; |
|
|
|
.line 430 |
|
iget-object v4, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
invoke-interface {v1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v4 |
|
|
|
.line 431 |
|
if-eqz v4, :cond_0 |
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0, v4}, Lcom/google/common/collect/Maps;->immutableEntry(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {p1, v0}, Lcom/google/common/base/Predicate;->apply(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 433 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$Column;->columnKey:Ljava/lang/Object; |
|
|
|
invoke-interface {v1, v0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 434 |
|
const/4 v2, 0x1 |
|
|
|
.line 435 |
|
invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 436 |
|
invoke-interface {v3}, Ljava/util/Iterator;->remove()V |
|
|
|
:cond_0 |
|
move v0, v2 |
|
|
|
move v2, v0 |
|
|
|
.line 439 |
|
goto :goto_0 |
|
|
|
.line 440 |
|
:cond_1 |
|
return v2 |
|
.end method
|
|
|