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

1268 lines
37 KiB

.class public Lcom/google/common/collect/ImmutableSetMultimap;
.super Lcom/google/common/collect/ImmutableMultimap;
.source "ImmutableSetMultimap.java"
# interfaces
.implements Lcom/google/common/collect/SetMultimap;
# annotations
.annotation build Lcom/google/common/annotations/GwtCompatible;
emulated = true
serializable = true
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/common/collect/ImmutableSetMultimap$EntrySet;,
Lcom/google/common/collect/ImmutableSetMultimap$Builder;,
Lcom/google/common/collect/ImmutableSetMultimap$BuilderMultimap;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/ImmutableMultimap",
"<TK;TV;>;",
"Lcom/google/common/collect/SetMultimap",
"<TK;TV;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J
.annotation build Lcom/google/common/annotations/GwtIncompatible;
value = "not needed in emulated source."
.end annotation
.end field
# instance fields
.field private final transient emptySet:Lcom/google/common/collect/ImmutableSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.end field
.field private transient entries:Lcom/google/common/collect/ImmutableSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/ImmutableSet",
"<",
"Ljava/util/Map$Entry",
"<TK;TV;>;>;"
}
.end annotation
.end field
.field private transient inverse:Lcom/google/common/collect/ImmutableSetMultimap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TV;TK;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lcom/google/common/collect/ImmutableMap;ILjava/util/Comparator;)V
.locals 1
.param p3 # Ljava/util/Comparator;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/ImmutableMap",
"<TK;",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;>;I",
"Ljava/util/Comparator",
"<-TV;>;)V"
}
.end annotation
.prologue
.line 345
invoke-direct {p0, p1, p2}, Lcom/google/common/collect/ImmutableMultimap;-><init>(Lcom/google/common/collect/ImmutableMap;I)V
.line 346
invoke-static {p3}, Lcom/google/common/collect/ImmutableSetMultimap;->emptySet(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
iput-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->emptySet:Lcom/google/common/collect/ImmutableSet;
.line 347
return-void
.end method
.method static synthetic access$000(Lcom/google/common/collect/Multimap;Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSetMultimap;
.locals 1
.prologue
.line 65
invoke-static {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->copyOf(Lcom/google/common/collect/Multimap;Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
return-object v0
.end method
.method public static builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Lcom/google/common/collect/ImmutableSetMultimap$Builder",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 148
new-instance v0, Lcom/google/common/collect/ImmutableSetMultimap$Builder;
invoke-direct {v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;-><init>()V
return-object v0
.end method
.method public static copyOf(Lcom/google/common/collect/Multimap;)Lcom/google/common/collect/ImmutableSetMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Lcom/google/common/collect/Multimap",
"<+TK;+TV;>;)",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 299
const/4 v0, 0x0
invoke-static {p0, v0}, Lcom/google/common/collect/ImmutableSetMultimap;->copyOf(Lcom/google/common/collect/Multimap;Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
return-object v0
.end method
.method private static copyOf(Lcom/google/common/collect/Multimap;Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSetMultimap;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Lcom/google/common/collect/Multimap",
"<+TK;+TV;>;",
"Ljava/util/Comparator",
"<-TV;>;)",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 305
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 306
invoke-interface {p0}, Lcom/google/common/collect/Multimap;->isEmpty()Z
move-result v0
if-eqz v0, :cond_1
if-nez p1, :cond_1
.line 307
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->of()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
.line 333
:cond_0
:goto_0
return-object v0
.line 310
:cond_1
instance-of v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;
if-eqz v0, :cond_2
move-object v0, p0
.line 312
check-cast v0, Lcom/google/common/collect/ImmutableSetMultimap;
.line 314
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSetMultimap;->isPartialView()Z
move-result v1
if-eqz v1, :cond_0
.line 319
:cond_2
invoke-static {}, Lcom/google/common/collect/ImmutableMap;->builder()Lcom/google/common/collect/ImmutableMap$Builder;
move-result-object v2
.line 320
const/4 v0, 0x0
.line 323
invoke-interface {p0}, Lcom/google/common/collect/Multimap;->asMap()Ljava/util/Map;
move-result-object v1
invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v1
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v3
move v1, v0
:goto_1
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_3
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
.line 324
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v4
.line 325
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Collection;
.line 326
invoke-static {p1, v0}, Lcom/google/common/collect/ImmutableSetMultimap;->valueSet(Ljava/util/Comparator;Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
.line 327
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSet;->isEmpty()Z
move-result v5
if-nez v5, :cond_4
.line 328
invoke-virtual {v2, v4, v0}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
.line 329
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSet;->size()I
move-result v0
add-int/2addr v0, v1
:goto_2
move v1, v0
.line 331
goto :goto_1
.line 333
:cond_3
new-instance v0, Lcom/google/common/collect/ImmutableSetMultimap;
invoke-virtual {v2}, Lcom/google/common/collect/ImmutableMap$Builder;->build()Lcom/google/common/collect/ImmutableMap;
move-result-object v2
invoke-direct {v0, v2, v1, p1}, Lcom/google/common/collect/ImmutableSetMultimap;-><init>(Lcom/google/common/collect/ImmutableMap;ILjava/util/Comparator;)V
goto :goto_0
:cond_4
move v0, v1
goto :goto_2
.end method
.method private static emptySet(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSet;
.locals 1
.param p0 # Ljava/util/Comparator;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator",
"<-TV;>;)",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.prologue
.line 467
if-nez p0, :cond_0
invoke-static {}, Lcom/google/common/collect/ImmutableSet;->of()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
:goto_0
return-object v0
:cond_0
invoke-static {p0}, Lcom/google/common/collect/ImmutableSortedSet;->emptySet(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedSet;
move-result-object v0
goto :goto_0
.end method
.method private invert()Lcom/google/common/collect/ImmutableSetMultimap;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TV;TK;>;"
}
.end annotation
.prologue
.line 381
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
move-result-object v1
.line 382
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->entries()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSet;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
.line 383
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v3
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v0
invoke-virtual {v1, v3, v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
goto :goto_0
.line 385
:cond_0
invoke-virtual {v1}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->build()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
.line 386
iput-object p0, v0, Lcom/google/common/collect/ImmutableSetMultimap;->inverse:Lcom/google/common/collect/ImmutableSetMultimap;
.line 387
return-object v0
.end method
.method public static of()Lcom/google/common/collect/ImmutableSetMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 73
sget-object v0, Lcom/google/common/collect/EmptyImmutableSetMultimap;->INSTANCE:Lcom/google/common/collect/EmptyImmutableSetMultimap;
return-object v0
.end method
.method public static of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;)",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 80
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
move-result-object v0
.line 81
invoke-virtual {v0, p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 82
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->build()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
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/ImmutableSetMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;TK;TV;)",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 91
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
move-result-object v0
.line 92
invoke-virtual {v0, p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 93
invoke-virtual {v0, p2, p3}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 94
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->build()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
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/ImmutableSetMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(TK;TV;TK;TV;TK;TV;)",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 104
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
move-result-object v0
.line 105
invoke-virtual {v0, p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 106
invoke-virtual {v0, p2, p3}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 107
invoke-virtual {v0, p4, p5}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 108
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->build()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
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/ImmutableSetMultimap;
.locals 1
.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/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 118
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
move-result-object v0
.line 119
invoke-virtual {v0, p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 120
invoke-virtual {v0, p2, p3}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 121
invoke-virtual {v0, p4, p5}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 122
invoke-virtual {v0, p6, p7}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 123
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->build()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
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/ImmutableSetMultimap;
.locals 1
.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/ImmutableSetMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 133
invoke-static {}, Lcom/google/common/collect/ImmutableSetMultimap;->builder()Lcom/google/common/collect/ImmutableSetMultimap$Builder;
move-result-object v0
.line 134
invoke-virtual {v0, p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 135
invoke-virtual {v0, p2, p3}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 136
invoke-virtual {v0, p4, p5}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 137
invoke-virtual {v0, p6, p7}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 138
invoke-virtual {v0, p8, p9}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSetMultimap$Builder;
.line 139
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSetMultimap$Builder;->build()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
return-object v0
.end method
.method private readObject(Ljava/io/ObjectInputStream;)V
.locals 11
.annotation build Lcom/google/common/annotations/GwtIncompatible;
value = "java.io.ObjectInputStream"
.end annotation
.prologue
const/4 v2, 0x0
.line 494
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->defaultReadObject()V
.line 495
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Comparator;
.line 497
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readInt()I
move-result v5
.line 498
if-gez v5, :cond_0
.line 499
new-instance v0, Ljava/io/InvalidObjectException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Invalid key count "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
throw v0
.line 501
:cond_0
invoke-static {}, Lcom/google/common/collect/ImmutableMap;->builder()Lcom/google/common/collect/ImmutableMap$Builder;
move-result-object v6
move v3, v2
move v4, v2
.line 505
:goto_0
if-ge v3, v5, :cond_4
.line 506
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;
move-result-object v7
.line 507
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readInt()I
move-result v8
.line 508
if-gtz v8, :cond_1
.line 509
new-instance v0, Ljava/io/InvalidObjectException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Invalid value count "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
throw v0
.line 512
:cond_1
new-array v9, v8, [Ljava/lang/Object;
move v1, v2
.line 513
:goto_1
if-ge v1, v8, :cond_2
.line 514
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;
move-result-object v10
aput-object v10, v9, v1
.line 513
add-int/lit8 v1, v1, 0x1
goto :goto_1
.line 516
:cond_2
invoke-static {v9}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object v1
invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableSetMultimap;->valueSet(Ljava/util/Comparator;Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
move-result-object v1
.line 517
invoke-virtual {v1}, Lcom/google/common/collect/ImmutableSet;->size()I
move-result v10
array-length v9, v9
if-eq v10, v9, :cond_3
.line 518
new-instance v0, Ljava/io/InvalidObjectException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Duplicate key-value pairs exist for key "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
throw v0
.line 521
:cond_3
invoke-virtual {v6, v7, v1}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
.line 522
add-int/2addr v4, v8
.line 505
add-int/lit8 v1, v3, 0x1
move v3, v1
goto :goto_0
.line 527
:cond_4
:try_start_0
invoke-virtual {v6}, Lcom/google/common/collect/ImmutableMap$Builder;->build()Lcom/google/common/collect/ImmutableMap;
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
move-result-object v1
.line 533
sget-object v2, Lcom/google/common/collect/ImmutableMultimap$FieldSettersHolder;->MAP_FIELD_SETTER:Lcom/google/common/collect/Serialization$FieldSetter;
invoke-virtual {v2, p0, v1}, Lcom/google/common/collect/Serialization$FieldSetter;->set(Ljava/lang/Object;Ljava/lang/Object;)V
.line 534
sget-object v1, Lcom/google/common/collect/ImmutableMultimap$FieldSettersHolder;->SIZE_FIELD_SETTER:Lcom/google/common/collect/Serialization$FieldSetter;
invoke-virtual {v1, p0, v4}, Lcom/google/common/collect/Serialization$FieldSetter;->set(Ljava/lang/Object;I)V
.line 535
sget-object v1, Lcom/google/common/collect/ImmutableMultimap$FieldSettersHolder;->EMPTY_SET_FIELD_SETTER:Lcom/google/common/collect/Serialization$FieldSetter;
invoke-static {v0}, Lcom/google/common/collect/ImmutableSetMultimap;->emptySet(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
invoke-virtual {v1, p0, v0}, Lcom/google/common/collect/Serialization$FieldSetter;->set(Ljava/lang/Object;Ljava/lang/Object;)V
.line 537
return-void
.line 528
:catch_0
move-exception v0
.line 529
new-instance v1, Ljava/io/InvalidObjectException;
invoke-virtual {v0}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, v0}, Ljava/io/InvalidObjectException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/io/InvalidObjectException;
throw v0
.end method
.method private static valueSet(Ljava/util/Comparator;Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
.locals 1
.param p0 # Ljava/util/Comparator;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator",
"<-TV;>;",
"Ljava/util/Collection",
"<+TV;>;)",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.prologue
.line 460
if-nez p0, :cond_0
invoke-static {p1}, Lcom/google/common/collect/ImmutableSet;->copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
:goto_0
return-object v0
:cond_0
invoke-static {p0, p1}, Lcom/google/common/collect/ImmutableSortedSet;->copyOf(Ljava/util/Comparator;Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSortedSet;
move-result-object v0
goto :goto_0
.end method
.method private writeObject(Ljava/io/ObjectOutputStream;)V
.locals 1
.annotation build Lcom/google/common/annotations/GwtIncompatible;
value = "java.io.ObjectOutputStream"
.end annotation
.prologue
.line 478
invoke-virtual {p1}, Ljava/io/ObjectOutputStream;->defaultWriteObject()V
.line 479
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->valueComparator()Ljava/util/Comparator;
move-result-object v0
invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V
.line 480
invoke-static {p0, p1}, Lcom/google/common/collect/Serialization;->writeMultimap(Lcom/google/common/collect/Multimap;Ljava/io/ObjectOutputStream;)V
.line 481
return-void
.end method
# virtual methods
.method public bridge synthetic entries()Lcom/google/common/collect/ImmutableCollection;
.locals 1
.prologue
.line 64
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->entries()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public entries()Lcom/google/common/collect/ImmutableSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/ImmutableSet",
"<",
"Ljava/util/Map$Entry",
"<TK;TV;>;>;"
}
.end annotation
.prologue
.line 419
iget-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->entries:Lcom/google/common/collect/ImmutableSet;
.line 420
if-nez v0, :cond_0
new-instance v0, Lcom/google/common/collect/ImmutableSetMultimap$EntrySet;
invoke-direct {v0, p0}, Lcom/google/common/collect/ImmutableSetMultimap$EntrySet;-><init>(Lcom/google/common/collect/ImmutableSetMultimap;)V
iput-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->entries:Lcom/google/common/collect/ImmutableSet;
:cond_0
return-object v0
.end method
.method public bridge synthetic entries()Ljava/util/Collection;
.locals 1
.prologue
.line 64
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->entries()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic entries()Ljava/util/Set;
.locals 1
.prologue
.line 64
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->entries()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->get(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public get(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
.locals 2
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.prologue
.line 359
iget-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->map:Lcom/google/common/collect/ImmutableMap;
invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/collect/ImmutableSet;
.line 360
iget-object v1, p0, Lcom/google/common/collect/ImmutableSetMultimap;->emptySet:Lcom/google/common/collect/ImmutableSet;
invoke-static {v0, v1}, Lcom/google/common/base/Objects;->firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/collect/ImmutableSet;
return-object v0
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/util/Collection;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->get(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/util/Set;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->get(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic inverse()Lcom/google/common/collect/ImmutableMultimap;
.locals 1
.prologue
.line 64
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->inverse()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
return-object v0
.end method
.method public inverse()Lcom/google/common/collect/ImmutableSetMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/ImmutableSetMultimap",
"<TV;TK;>;"
}
.end annotation
.prologue
.line 376
iget-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->inverse:Lcom/google/common/collect/ImmutableSetMultimap;
.line 377
if-nez v0, :cond_0
invoke-direct {p0}, Lcom/google/common/collect/ImmutableSetMultimap;->invert()Lcom/google/common/collect/ImmutableSetMultimap;
move-result-object v0
iput-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->inverse:Lcom/google/common/collect/ImmutableSetMultimap;
:cond_0
return-object v0
.end method
.method public bridge synthetic removeAll(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->removeAll(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public removeAll(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.prologue
.line 397
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public bridge synthetic removeAll(Ljava/lang/Object;)Ljava/util/Collection;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->removeAll(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic removeAll(Ljava/lang/Object;)Ljava/util/Set;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableSetMultimap;->removeAll(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ImmutableSetMultimap;->replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;",
"Ljava/lang/Iterable",
"<+TV;>;)",
"Lcom/google/common/collect/ImmutableSet",
"<TV;>;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.prologue
.line 408
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public bridge synthetic replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Ljava/util/Collection;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ImmutableSetMultimap;->replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Ljava/util/Set;
.locals 1
.prologue
.line 64
invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ImmutableSetMultimap;->replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
move-result-object v0
return-object v0
.end method
.method valueComparator()Ljava/util/Comparator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Comparator",
"<-TV;>;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.prologue
.line 484
iget-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->emptySet:Lcom/google/common/collect/ImmutableSet;
instance-of v0, v0, Lcom/google/common/collect/ImmutableSortedSet;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/google/common/collect/ImmutableSetMultimap;->emptySet:Lcom/google/common/collect/ImmutableSet;
check-cast v0, Lcom/google/common/collect/ImmutableSortedSet;
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSortedSet;->comparator()Ljava/util/Comparator;
move-result-object v0
:goto_0
return-object v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method