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.
359 lines
7.8 KiB
359 lines
7.8 KiB
.class Lcom/google/common/collect/StandardTable$ColumnKeySet; |
|
.super Lcom/google/common/collect/StandardTable$TableSet; |
|
.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 = "ColumnKeySet" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/StandardTable", |
|
"<TR;TC;TV;>.TableSet<TC;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>(Lcom/google/common/collect/StandardTable;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 582 |
|
iput-object p1, p0, Lcom/google/common/collect/StandardTable$ColumnKeySet;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
const/4 v0, 0x0 |
|
|
|
invoke-direct {p0, p1, v0}, Lcom/google/common/collect/StandardTable$TableSet;-><init>(Lcom/google/common/collect/StandardTable;Lcom/google/common/collect/StandardTable$1;)V |
|
|
|
return-void |
|
.end method |
|
|
|
.method synthetic constructor <init>(Lcom/google/common/collect/StandardTable;Lcom/google/common/collect/StandardTable$1;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 582 |
|
invoke-direct {p0, p1}, Lcom/google/common/collect/StandardTable$ColumnKeySet;-><init>(Lcom/google/common/collect/StandardTable;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public contains(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 644 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$ColumnKeySet;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
invoke-virtual {v0, p1}, Lcom/google/common/collect/StandardTable;->containsColumn(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public iterator()Ljava/util/Iterator; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Iterator", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 584 |
|
iget-object v0, p0, Lcom/google/common/collect/StandardTable$ColumnKeySet;->this$0:Lcom/google/common/collect/StandardTable; |
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/StandardTable;->createColumnKeyIterator()Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public remove(Ljava/lang/Object;)Z |
|
.locals 4 |
|
|
|
.prologue |
|
const/4 v0, 0x0 |
|
|
|
.line 592 |
|
if-nez p1, :cond_0 |
|
|
|
.line 606 |
|
:goto_0 |
|
return v0 |
|
|
|
.line 596 |
|
:cond_0 |
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$ColumnKeySet;->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;->values()Ljava/util/Collection; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v2 |
|
|
|
move v1, v0 |
|
|
|
.line 597 |
|
:goto_1 |
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_2 |
|
|
|
.line 598 |
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Map; |
|
|
|
.line 599 |
|
invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set; |
|
|
|
move-result-object v3 |
|
|
|
invoke-interface {v3, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z |
|
|
|
move-result v3 |
|
|
|
if-eqz v3, :cond_1 |
|
|
|
.line 600 |
|
const/4 v1, 0x1 |
|
|
|
.line 601 |
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 602 |
|
invoke-interface {v2}, Ljava/util/Iterator;->remove()V |
|
|
|
:cond_1 |
|
move v0, v1 |
|
|
|
move v1, v0 |
|
|
|
.line 605 |
|
goto :goto_1 |
|
|
|
:cond_2 |
|
move v0, v1 |
|
|
|
.line 606 |
|
goto :goto_0 |
|
.end method |
|
|
|
.method public removeAll(Ljava/util/Collection;)Z |
|
.locals 4 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Ljava/util/Collection", |
|
"<*>;)Z" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 610 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 611 |
|
const/4 v0, 0x0 |
|
|
|
.line 612 |
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$ColumnKeySet;->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;->values()Ljava/util/Collection; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v2 |
|
|
|
move v1, v0 |
|
|
|
.line 613 |
|
:goto_0 |
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 614 |
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Map; |
|
|
|
.line 617 |
|
invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set; |
|
|
|
move-result-object v3 |
|
|
|
invoke-interface {v3}, Ljava/util/Set;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v3 |
|
|
|
invoke-static {v3, p1}, Lcom/google/common/collect/Iterators;->removeAll(Ljava/util/Iterator;Ljava/util/Collection;)Z |
|
|
|
move-result v3 |
|
|
|
if-eqz v3, :cond_0 |
|
|
|
.line 618 |
|
const/4 v1, 0x1 |
|
|
|
.line 619 |
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 620 |
|
invoke-interface {v2}, Ljava/util/Iterator;->remove()V |
|
|
|
:cond_0 |
|
move v0, v1 |
|
|
|
move v1, v0 |
|
|
|
.line 623 |
|
goto :goto_0 |
|
|
|
.line 624 |
|
:cond_1 |
|
return v1 |
|
.end method |
|
|
|
.method public retainAll(Ljava/util/Collection;)Z |
|
.locals 4 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Ljava/util/Collection", |
|
"<*>;)Z" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 628 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
.line 629 |
|
const/4 v0, 0x0 |
|
|
|
.line 630 |
|
iget-object v1, p0, Lcom/google/common/collect/StandardTable$ColumnKeySet;->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;->values()Ljava/util/Collection; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v2 |
|
|
|
move v1, v0 |
|
|
|
.line 631 |
|
:goto_0 |
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 632 |
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Map; |
|
|
|
.line 633 |
|
invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set; |
|
|
|
move-result-object v3 |
|
|
|
invoke-interface {v3, p1}, Ljava/util/Set;->retainAll(Ljava/util/Collection;)Z |
|
|
|
move-result v3 |
|
|
|
if-eqz v3, :cond_0 |
|
|
|
.line 634 |
|
const/4 v1, 0x1 |
|
|
|
.line 635 |
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 636 |
|
invoke-interface {v2}, Ljava/util/Iterator;->remove()V |
|
|
|
:cond_0 |
|
move v0, v1 |
|
|
|
move v1, v0 |
|
|
|
.line 639 |
|
goto :goto_0 |
|
|
|
.line 640 |
|
:cond_1 |
|
return v1 |
|
.end method |
|
|
|
.method public size()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 588 |
|
invoke-virtual {p0}, Lcom/google/common/collect/StandardTable$ColumnKeySet;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/Iterators;->size(Ljava/util/Iterator;)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method
|
|
|