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.
488 lines
13 KiB
488 lines
13 KiB
2 years ago
|
.class Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;
|
||
|
.super Lcom/google/common/collect/ForwardingMultimap;
|
||
|
.source "Multimaps.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/io/Serializable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/collect/Multimaps;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0xa
|
||
|
name = "UnmodifiableMultimap"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Lcom/google/common/collect/ForwardingMultimap",
|
||
|
"<TK;TV;>;",
|
||
|
"Ljava/io/Serializable;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final serialVersionUID:J
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final delegate:Lcom/google/common/collect/Multimap;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lcom/google/common/collect/Multimap",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field transient entries:Ljava/util/Collection;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Collection",
|
||
|
"<",
|
||
|
"Ljava/util/Map$Entry",
|
||
|
"<TK;TV;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field transient keySet:Ljava/util/Set;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Set",
|
||
|
"<TK;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field transient keys:Lcom/google/common/collect/Multiset;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lcom/google/common/collect/Multiset",
|
||
|
"<TK;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field transient map:Ljava/util/Map;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Map",
|
||
|
"<TK;",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field transient values:Ljava/util/Collection;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/google/common/collect/Multimap;)V
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lcom/google/common/collect/Multimap",
|
||
|
"<TK;TV;>;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 500
|
||
|
invoke-direct {p0}, Lcom/google/common/collect/ForwardingMultimap;-><init>()V
|
||
|
|
||
|
.line 501
|
||
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
.line 502
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public asMap()Ljava/util/Map;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Map",
|
||
|
"<TK;",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 513
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 514
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 515
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/collect/Multimap;->asMap()Ljava/util/Map;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v1, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap$1;
|
||
|
|
||
|
invoke-direct {v1, p0}, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap$1;-><init>(Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;)V
|
||
|
|
||
|
invoke-static {v0, v1}, Lcom/google/common/collect/Maps;->transformValues(Ljava/util/Map;Lcom/google/common/base/Function;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 523
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public clear()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 509
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method protected delegate()Lcom/google/common/collect/Multimap;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Lcom/google/common/collect/Multimap",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 505
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method protected bridge synthetic delegate()Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 491
|
||
|
invoke-virtual {p0}, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate()Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public entries()Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Collection",
|
||
|
"<",
|
||
|
"Ljava/util/Map$Entry",
|
||
|
"<TK;TV;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 527
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->entries:Ljava/util/Collection;
|
||
|
|
||
|
.line 528
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 529
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/collect/Multimap;->entries()Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Lcom/google/common/collect/Multimaps;->access$100(Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->entries:Ljava/util/Collection;
|
||
|
|
||
|
.line 531
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public get(Ljava/lang/Object;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(TK;)",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 535
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
invoke-interface {v0, p1}, Lcom/google/common/collect/Multimap;->get(Ljava/lang/Object;)Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Lcom/google/common/collect/Multimaps;->access$000(Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public keySet()Ljava/util/Set;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Set",
|
||
|
"<TK;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 547
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->keySet:Ljava/util/Set;
|
||
|
|
||
|
.line 548
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 549
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/collect/Multimap;->keySet()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/Multimaps$UnmodifiableMultimap;->keySet:Ljava/util/Set;
|
||
|
|
||
|
.line 551
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public keys()Lcom/google/common/collect/Multiset;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Lcom/google/common/collect/Multiset",
|
||
|
"<TK;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 539
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->keys:Lcom/google/common/collect/Multiset;
|
||
|
|
||
|
.line 540
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 541
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/collect/Multimap;->keys()Lcom/google/common/collect/Multiset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Lcom/google/common/collect/Multisets;->unmodifiableMultiset(Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/Multiset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->keys:Lcom/google/common/collect/Multiset;
|
||
|
|
||
|
.line 543
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public put(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(TK;TV;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 555
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public putAll(Lcom/google/common/collect/Multimap;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lcom/google/common/collect/Multimap",
|
||
|
"<+TK;+TV;>;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 564
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public putAll(Ljava/lang/Object;Ljava/lang/Iterable;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(TK;",
|
||
|
"Ljava/lang/Iterable",
|
||
|
"<+TV;>;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 559
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public remove(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 568
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public removeAll(Ljava/lang/Object;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/Object;",
|
||
|
")",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 572
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(TK;",
|
||
|
"Ljava/lang/Iterable",
|
||
|
"<+TV;>;)",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 577
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public values()Ljava/util/Collection;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Collection",
|
||
|
"<TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 581
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->values:Ljava/util/Collection;
|
||
|
|
||
|
.line 582
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
.line 583
|
||
|
iget-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->delegate:Lcom/google/common/collect/Multimap;
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/collect/Multimap;->values()Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lcom/google/common/collect/Multimaps$UnmodifiableMultimap;->values:Ljava/util/Collection;
|
||
|
|
||
|
.line 585
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|