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.
185 lines
5.2 KiB
185 lines
5.2 KiB
2 years ago
|
.class public final Lcom/google/common/collect/ImmutableBiMap$Builder;
|
||
|
.super Lcom/google/common/collect/ImmutableMap$Builder;
|
||
|
.source "ImmutableBiMap.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/collect/ImmutableBiMap;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = "Builder"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Lcom/google/common/collect/ImmutableMap$Builder",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 137
|
||
|
invoke-direct {p0}, Lcom/google/common/collect/ImmutableMap$Builder;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public build()Lcom/google/common/collect/ImmutableBiMap;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Lcom/google/common/collect/ImmutableBiMap",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
.line 166
|
||
|
iget v0, p0, Lcom/google/common/collect/ImmutableBiMap$Builder;->size:I
|
||
|
|
||
|
packed-switch v0, :pswitch_data_0
|
||
|
|
||
|
.line 172
|
||
|
new-instance v0, Lcom/google/common/collect/RegularImmutableBiMap;
|
||
|
|
||
|
iget v1, p0, Lcom/google/common/collect/ImmutableBiMap$Builder;->size:I
|
||
|
|
||
|
iget-object v2, p0, Lcom/google/common/collect/ImmutableBiMap$Builder;->entries:[Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lcom/google/common/collect/RegularImmutableBiMap;-><init>(I[Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-object v0
|
||
|
|
||
|
.line 168
|
||
|
:pswitch_0
|
||
|
invoke-static {}, Lcom/google/common/collect/ImmutableBiMap;->of()Lcom/google/common/collect/ImmutableBiMap;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 170
|
||
|
:pswitch_1
|
||
|
iget-object v0, p0, Lcom/google/common/collect/ImmutableBiMap$Builder;->entries:[Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
|
||
|
|
||
|
aget-object v0, v0, v2
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;->getKey()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Lcom/google/common/collect/ImmutableBiMap$Builder;->entries:[Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
|
||
|
|
||
|
aget-object v1, v1, v2
|
||
|
|
||
|
invoke-virtual {v1}, Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;->getValue()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableBiMap;->of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 166
|
||
|
:pswitch_data_0
|
||
|
.packed-switch 0x0
|
||
|
:pswitch_0
|
||
|
:pswitch_1
|
||
|
.end packed-switch
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic build()Lcom/google/common/collect/ImmutableMap;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 131
|
||
|
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableBiMap$Builder;->build()Lcom/google/common/collect/ImmutableBiMap;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap$Builder;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(TK;TV;)",
|
||
|
"Lcom/google/common/collect/ImmutableBiMap$Builder",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 144
|
||
|
invoke-super {p0, p1, p2}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
|
||
|
|
||
|
.line 145
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 131
|
||
|
invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ImmutableBiMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public putAll(Ljava/util/Map;)Lcom/google/common/collect/ImmutableBiMap$Builder;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Map",
|
||
|
"<+TK;+TV;>;)",
|
||
|
"Lcom/google/common/collect/ImmutableBiMap$Builder",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 156
|
||
|
invoke-super {p0, p1}, Lcom/google/common/collect/ImmutableMap$Builder;->putAll(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap$Builder;
|
||
|
|
||
|
.line 157
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic putAll(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap$Builder;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 131
|
||
|
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableBiMap$Builder;->putAll(Ljava/util/Map;)Lcom/google/common/collect/ImmutableBiMap$Builder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|