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

240 lines
6.3 KiB

.class Lcom/google/common/collect/Maps$UnmodifiableBiMap;
.super Lcom/google/common/collect/ForwardingMap;
.source "Maps.java"
# interfaces
.implements Lcom/google/common/collect/BiMap;
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/Maps;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "UnmodifiableBiMap"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/ForwardingMap",
"<TK;TV;>;",
"Lcom/google/common/collect/BiMap",
"<TK;TV;>;",
"Ljava/io/Serializable;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J
# instance fields
.field final delegate:Lcom/google/common/collect/BiMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/BiMap",
"<+TK;+TV;>;"
}
.end annotation
.end field
.field inverse:Lcom/google/common/collect/BiMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/BiMap",
"<TV;TK;>;"
}
.end annotation
.end field
.field final unmodifiableMap:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<TK;TV;>;"
}
.end annotation
.end field
.field transient values:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set",
"<TV;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lcom/google/common/collect/BiMap;Lcom/google/common/collect/BiMap;)V
.locals 1
.param p2 # Lcom/google/common/collect/BiMap;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/BiMap",
"<+TK;+TV;>;",
"Lcom/google/common/collect/BiMap",
"<TV;TK;>;)V"
}
.end annotation
.prologue
.line 1250
invoke-direct {p0}, Lcom/google/common/collect/ForwardingMap;-><init>()V
.line 1251
invoke-static {p1}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object v0
iput-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->unmodifiableMap:Ljava/util/Map;
.line 1252
iput-object p1, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->delegate:Lcom/google/common/collect/BiMap;
.line 1253
iput-object p2, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->inverse:Lcom/google/common/collect/BiMap;
.line 1254
return-void
.end method
# virtual methods
.method protected bridge synthetic delegate()Ljava/lang/Object;
.locals 1
.prologue
.line 1242
invoke-virtual {p0}, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->delegate()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method protected delegate()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 1257
iget-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->unmodifiableMap:Ljava/util/Map;
return-object v0
.end method
.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
.prologue
.line 1262
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public inverse()Lcom/google/common/collect/BiMap;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/BiMap",
"<TV;TK;>;"
}
.end annotation
.prologue
.line 1267
iget-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->inverse:Lcom/google/common/collect/BiMap;
.line 1268
if-nez v0, :cond_0
new-instance v0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;
iget-object v1, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->delegate:Lcom/google/common/collect/BiMap;
invoke-interface {v1}, Lcom/google/common/collect/BiMap;->inverse()Lcom/google/common/collect/BiMap;
move-result-object v1
invoke-direct {v0, v1, p0}, Lcom/google/common/collect/Maps$UnmodifiableBiMap;-><init>(Lcom/google/common/collect/BiMap;Lcom/google/common/collect/BiMap;)V
iput-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->inverse:Lcom/google/common/collect/BiMap;
:cond_0
return-object v0
.end method
.method public bridge synthetic values()Ljava/util/Collection;
.locals 1
.prologue
.line 1242
invoke-virtual {p0}, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->values()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public values()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set",
"<TV;>;"
}
.end annotation
.prologue
.line 1274
iget-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->values:Ljava/util/Set;
.line 1275
if-nez v0, :cond_0
iget-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->delegate:Lcom/google/common/collect/BiMap;
invoke-interface {v0}, Lcom/google/common/collect/BiMap;->values()Ljava/util/Set;
move-result-object v0
invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
move-result-object v0
iput-object v0, p0, Lcom/google/common/collect/Maps$UnmodifiableBiMap;->values:Ljava/util/Set;
:cond_0
return-object v0
.end method