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

551 lines
13 KiB

.class public final Lcom/google/common/collect/HashMultimap;
.super Lcom/google/common/collect/AbstractSetMultimap;
.source "HashMultimap.java"
# annotations
.annotation build Lcom/google/common/annotations/GwtCompatible;
emulated = true
serializable = true
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/collect/AbstractSetMultimap",
"<TK;TV;>;"
}
.end annotation
# static fields
.field private static final DEFAULT_VALUES_PER_KEY:I = 0x2
.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 transient expectedValuesPerKey:I
.annotation build Lcom/google/common/annotations/VisibleForTesting;
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 1
.prologue
.line 91
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
invoke-direct {p0, v0}, Lcom/google/common/collect/AbstractSetMultimap;-><init>(Ljava/util/Map;)V
.line 53
const/4 v0, 0x2
iput v0, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
.line 92
return-void
.end method
.method private constructor <init>(II)V
.locals 1
.prologue
.line 95
invoke-static {p1}, Lcom/google/common/collect/Maps;->newHashMapWithExpectedSize(I)Ljava/util/HashMap;
move-result-object v0
invoke-direct {p0, v0}, Lcom/google/common/collect/AbstractSetMultimap;-><init>(Ljava/util/Map;)V
.line 53
const/4 v0, 0x2
iput v0, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
.line 96
if-ltz p2, :cond_0
const/4 v0, 0x1
:goto_0
invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V
.line 97
iput p2, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
.line 98
return-void
.line 96
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method private 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 101
invoke-interface {p1}, Lcom/google/common/collect/Multimap;->keySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->size()I
move-result v0
invoke-static {v0}, Lcom/google/common/collect/Maps;->newHashMapWithExpectedSize(I)Ljava/util/HashMap;
move-result-object v0
invoke-direct {p0, v0}, Lcom/google/common/collect/AbstractSetMultimap;-><init>(Ljava/util/Map;)V
.line 53
const/4 v0, 0x2
iput v0, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
.line 103
invoke-virtual {p0, p1}, Lcom/google/common/collect/HashMultimap;->putAll(Lcom/google/common/collect/Multimap;)Z
.line 104
return-void
.end method
.method public static create()Lcom/google/common/collect/HashMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Lcom/google/common/collect/HashMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 61
new-instance v0, Lcom/google/common/collect/HashMultimap;
invoke-direct {v0}, Lcom/google/common/collect/HashMultimap;-><init>()V
return-object v0
.end method
.method public static create(II)Lcom/google/common/collect/HashMultimap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(II)",
"Lcom/google/common/collect/HashMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 75
new-instance v0, Lcom/google/common/collect/HashMultimap;
invoke-direct {v0, p0, p1}, Lcom/google/common/collect/HashMultimap;-><init>(II)V
return-object v0
.end method
.method public static create(Lcom/google/common/collect/Multimap;)Lcom/google/common/collect/HashMultimap;
.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/HashMultimap",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 87
new-instance v0, Lcom/google/common/collect/HashMultimap;
invoke-direct {v0, p0}, Lcom/google/common/collect/HashMultimap;-><init>(Lcom/google/common/collect/Multimap;)V
return-object v0
.end method
.method private readObject(Ljava/io/ObjectInputStream;)V
.locals 2
.annotation build Lcom/google/common/annotations/GwtIncompatible;
value = "java.io.ObjectInputStream"
.end annotation
.prologue
.line 132
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->defaultReadObject()V
.line 133
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readInt()I
move-result v0
iput v0, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
.line 134
invoke-static {p1}, Lcom/google/common/collect/Serialization;->readCount(Ljava/io/ObjectInputStream;)I
move-result v0
.line 135
invoke-static {v0}, Lcom/google/common/collect/Maps;->newHashMapWithExpectedSize(I)Ljava/util/HashMap;
move-result-object v1
.line 136
invoke-virtual {p0, v1}, Lcom/google/common/collect/HashMultimap;->setMap(Ljava/util/Map;)V
.line 137
invoke-static {p0, p1, v0}, Lcom/google/common/collect/Serialization;->populateMultimap(Lcom/google/common/collect/Multimap;Ljava/io/ObjectInputStream;I)V
.line 138
return-void
.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 124
invoke-virtual {p1}, Ljava/io/ObjectOutputStream;->defaultWriteObject()V
.line 125
iget v0, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeInt(I)V
.line 126
invoke-static {p0, p1}, Lcom/google/common/collect/Serialization;->writeMultimap(Lcom/google/common/collect/Multimap;Ljava/io/ObjectOutputStream;)V
.line 127
return-void
.end method
# virtual methods
.method public bridge synthetic asMap()Ljava/util/Map;
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->asMap()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic clear()V
.locals 0
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->clear()V
return-void
.end method
.method public bridge synthetic containsEntry(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractSetMultimap;->containsEntry(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public bridge synthetic containsKey(Ljava/lang/Object;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractSetMultimap;->containsKey(Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public bridge synthetic containsValue(Ljava/lang/Object;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractSetMultimap;->containsValue(Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method bridge synthetic createCollection()Ljava/util/Collection;
.locals 1
.prologue
.line 49
invoke-virtual {p0}, Lcom/google/common/collect/HashMultimap;->createCollection()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method createCollection()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set",
"<TV;>;"
}
.end annotation
.prologue
.line 114
iget v0, p0, Lcom/google/common/collect/HashMultimap;->expectedValuesPerKey:I
invoke-static {v0}, Lcom/google/common/collect/Sets;->newHashSetWithExpectedSize(I)Ljava/util/HashSet;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic entries()Ljava/util/Set;
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->entries()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic equals(Ljava/lang/Object;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractSetMultimap;->equals(Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/util/Set;
.locals 1
.prologue
.line 49
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractSetMultimap;->get(Ljava/lang/Object;)Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic hashCode()I
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->hashCode()I
move-result v0
return v0
.end method
.method public bridge synthetic isEmpty()Z
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->isEmpty()Z
move-result v0
return v0
.end method
.method public bridge synthetic keySet()Ljava/util/Set;
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->keySet()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic keys()Lcom/google/common/collect/Multiset;
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->keys()Lcom/google/common/collect/Multiset;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic put(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractSetMultimap;->put(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public bridge synthetic putAll(Lcom/google/common/collect/Multimap;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractSetMultimap;->putAll(Lcom/google/common/collect/Multimap;)Z
move-result v0
return v0
.end method
.method public bridge synthetic putAll(Ljava/lang/Object;Ljava/lang/Iterable;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractSetMultimap;->putAll(Ljava/lang/Object;Ljava/lang/Iterable;)Z
move-result v0
return v0
.end method
.method public bridge synthetic remove(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 1
.prologue
.line 49
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractSetMultimap;->remove(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
return v0
.end method
.method public bridge synthetic removeAll(Ljava/lang/Object;)Ljava/util/Set;
.locals 1
.prologue
.line 49
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractSetMultimap;->removeAll(Ljava/lang/Object;)Ljava/util/Set;
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 49
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractSetMultimap;->replaceValues(Ljava/lang/Object;Ljava/lang/Iterable;)Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic size()I
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->size()I
move-result v0
return v0
.end method
.method public bridge synthetic toString()Ljava/lang/String;
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic values()Ljava/util/Collection;
.locals 1
.prologue
.line 49
invoke-super {p0}, Lcom/google/common/collect/AbstractSetMultimap;->values()Ljava/util/Collection;
move-result-object v0
return-object v0
.end method