今奥全景相机
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.

577 lines
16 KiB

.class public abstract Lcom/google/common/collect/ImmutableBiMap;
.super Lcom/google/common/collect/ImmutableMap;
.source "ImmutableBiMap.java"
# interfaces
.implements Lcom/google/common/collect/BiMap;
# annotations
.annotation build Lcom/google/common/annotations/GwtCompatible;
emulated = true
serializable = true
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/common/collect/ImmutableBiMap$SerializedForm;,
Lcom/google/common/collect/ImmutableBiMap$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/ImmutableMap",
"<TK;TV;>;",
"Lcom/google/common/collect/BiMap",
"<TK;TV;>;"
}
.end annotation
# static fields
.field private static final EMPTY_ENTRY_ARRAY:[Ljava/util/Map$Entry;
.annotation system Ldalvik/annotation/Signature;
value = {
"[",
"Ljava/util/Map$Entry",
"<**>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
.line 214
const/4 v0, 0x0
new-array v0, v0, [Ljava/util/Map$Entry;
sput-object v0, Lcom/google/common/collect/ImmutableBiMap;->EMPTY_ENTRY_ARRAY:[Ljava/util/Map$Entry;
return-void
.end method
.method constructor <init>()V
.locals 0
.prologue
.line 216
invoke-direct {p0}, Lcom/google/common/collect/ImmutableMap;-><init>()V
return-void
.end method
.method public static builder()Lcom/google/common/collect/ImmutableBiMap$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Lcom/google/common/collect/ImmutableBiMap$Builder",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 108
new-instance v0, Lcom/google/common/collect/ImmutableBiMap$Builder;
invoke-direct {v0}, Lcom/google/common/collect/ImmutableBiMap$Builder;-><init>()V
return-object v0
.end method
.method public static copyOf(Ljava/util/Map;)Lcom/google/common/collect/ImmutableBiMap;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map",
"<+TK;+TV;>;)",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 192
instance-of v0, p0, Lcom/google/common/collect/ImmutableBiMap;
if-eqz v0, :cond_0
move-object v0, p0
.line 194
check-cast v0, Lcom/google/common/collect/ImmutableBiMap;
.line 197
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableBiMap;->isPartialView()Z
move-result v1
if-nez v1, :cond_0
.line 210
:goto_0
return-object v0
.line 201
:cond_0
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v0
sget-object v1, Lcom/google/common/collect/ImmutableBiMap;->EMPTY_ENTRY_ARRAY:[Ljava/util/Map$Entry;
invoke-interface {v0, v1}, Ljava/util/Set;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v0
check-cast v0, [Ljava/util/Map$Entry;
.line 202
array-length v1, v0
packed-switch v1, :pswitch_data_0
.line 210
new-instance v1, Lcom/google/common/collect/RegularImmutableBiMap;
invoke-direct {v1, v0}, Lcom/google/common/collect/RegularImmutableBiMap;-><init>([Ljava/util/Map$Entry;)V
move-object v0, v1
goto :goto_0
.line 204
:pswitch_0
invoke-static {}, Lcom/google/common/collect/ImmutableBiMap;->of()Lcom/google/common/collect/ImmutableBiMap;
move-result-object v0
goto :goto_0
.line 207
:pswitch_1
const/4 v1, 0x0
aget-object v0, v0, v1
.line 208
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
invoke-static {v1, v0}, 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 202
:pswitch_data_0
.packed-switch 0x0
:pswitch_0
:pswitch_1
.end packed-switch
.end method
.method public static of()Lcom/google/common/collect/ImmutableBiMap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 50
sget-object v0, Lcom/google/common/collect/EmptyImmutableBiMap;->INSTANCE:Lcom/google/common/collect/EmptyImmutableBiMap;
return-object v0
.end method
.method public static of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;)",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 57
new-instance v0, Lcom/google/common/collect/SingletonImmutableBiMap;
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/SingletonImmutableBiMap;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v0
.end method
.method public static of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;TK;TV;)",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 66
new-instance v0, Lcom/google/common/collect/RegularImmutableBiMap;
const/4 v1, 0x2
new-array v1, v1, [Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
const/4 v2, 0x0
invoke-static {p0, p1}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x1
invoke-static {p2, p3}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
invoke-direct {v0, v1}, Lcom/google/common/collect/RegularImmutableBiMap;-><init>([Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;)V
return-object v0
.end method
.method public static of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;TK;TV;TK;TV;)",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 76
new-instance v0, Lcom/google/common/collect/RegularImmutableBiMap;
const/4 v1, 0x3
new-array v1, v1, [Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
const/4 v2, 0x0
invoke-static {p0, p1}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x1
invoke-static {p2, p3}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x2
invoke-static {p4, p5}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
invoke-direct {v0, v1}, Lcom/google/common/collect/RegularImmutableBiMap;-><init>([Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;)V
return-object v0
.end method
.method public static of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;TK;TV;TK;TV;TK;TV;)",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 86
new-instance v0, Lcom/google/common/collect/RegularImmutableBiMap;
const/4 v1, 0x4
new-array v1, v1, [Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
const/4 v2, 0x0
invoke-static {p0, p1}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x1
invoke-static {p2, p3}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x2
invoke-static {p4, p5}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x3
invoke-static {p6, p7}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
invoke-direct {v0, v1}, Lcom/google/common/collect/RegularImmutableBiMap;-><init>([Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;)V
return-object v0
.end method
.method public static of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableBiMap;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;TK;TV;TK;TV;TK;TV;TK;TV;)",
"Lcom/google/common/collect/ImmutableBiMap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 97
new-instance v0, Lcom/google/common/collect/RegularImmutableBiMap;
const/4 v1, 0x5
new-array v1, v1, [Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
const/4 v2, 0x0
invoke-static {p0, p1}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x1
invoke-static {p2, p3}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x2
invoke-static {p4, p5}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x3
invoke-static {p6, p7}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x4
invoke-static {p8, p9}, Lcom/google/common/collect/ImmutableBiMap;->entryOf(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;
move-result-object v3
aput-object v3, v1, v2
invoke-direct {v0, v1}, Lcom/google/common/collect/RegularImmutableBiMap;-><init>([Lcom/google/common/collect/ImmutableMapEntry$TerminalEntry;)V
return-object v0
.end method
# virtual methods
.method public forcePut(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;TV;)TV;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.prologue
.line 244
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public bridge synthetic inverse()Lcom/google/common/collect/BiMap;
.locals 1
.prologue
.line 40
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableBiMap;->inverse()Lcom/google/common/collect/ImmutableBiMap;
move-result-object v0
return-object v0
.end method
.method public abstract inverse()Lcom/google/common/collect/ImmutableBiMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/ImmutableBiMap",
"<TV;TK;>;"
}
.end annotation
.end method
.method public bridge synthetic values()Lcom/google/common/collect/ImmutableCollection;
.locals 1
.prologue
.line 40
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableBiMap;->values()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public values()Lcom/google/common/collect/ImmutableSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.prologue
.line 232
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableBiMap;->inverse()Lcom/google/common/collect/ImmutableBiMap;
move-result-object v0
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableBiMap;->keySet()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic values()Ljava/util/Collection;
.locals 1
.prologue
.line 40
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableBiMap;->values()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic values()Ljava/util/Set;
.locals 1
.prologue
.line 40
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableBiMap;->values()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method writeReplace()Ljava/lang/Object;
.locals 1
.prologue
.line 268
new-instance v0, Lcom/google/common/collect/ImmutableBiMap$SerializedForm;
invoke-direct {v0, p0}, Lcom/google/common/collect/ImmutableBiMap$SerializedForm;-><init>(Lcom/google/common/collect/ImmutableBiMap;)V
return-object v0
.end method