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.
419 lines
9.7 KiB
419 lines
9.7 KiB
.class public final Lcom/google/common/collect/HashMultiset; |
|
.super Lcom/google/common/collect/AbstractMapBasedMultiset; |
|
.source "HashMultiset.java" |
|
|
|
|
|
# annotations |
|
.annotation build Lcom/google/common/annotations/GwtCompatible; |
|
emulated = true |
|
serializable = true |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<E:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Lcom/google/common/collect/AbstractMapBasedMultiset", |
|
"<TE;>;" |
|
} |
|
.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 |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>()V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 72 |
|
new-instance v0, Ljava/util/HashMap; |
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V |
|
|
|
invoke-direct {p0, v0}, Lcom/google/common/collect/AbstractMapBasedMultiset;-><init>(Ljava/util/Map;)V |
|
|
|
.line 73 |
|
return-void |
|
.end method |
|
|
|
.method private constructor <init>(I)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 76 |
|
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/AbstractMapBasedMultiset;-><init>(Ljava/util/Map;)V |
|
|
|
.line 77 |
|
return-void |
|
.end method |
|
|
|
.method public static create()Lcom/google/common/collect/HashMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<E:", |
|
"Ljava/lang/Object;", |
|
">()", |
|
"Lcom/google/common/collect/HashMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 42 |
|
new-instance v0, Lcom/google/common/collect/HashMultiset; |
|
|
|
invoke-direct {v0}, Lcom/google/common/collect/HashMultiset;-><init>()V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static create(I)Lcom/google/common/collect/HashMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<E:", |
|
"Ljava/lang/Object;", |
|
">(I)", |
|
"Lcom/google/common/collect/HashMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 53 |
|
new-instance v0, Lcom/google/common/collect/HashMultiset; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/HashMultiset;-><init>(I)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public static create(Ljava/lang/Iterable;)Lcom/google/common/collect/HashMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<E:", |
|
"Ljava/lang/Object;", |
|
">(", |
|
"Ljava/lang/Iterable", |
|
"<+TE;>;)", |
|
"Lcom/google/common/collect/HashMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 65 |
|
invoke-static {p0}, Lcom/google/common/collect/Multisets;->inferDistinctElements(Ljava/lang/Iterable;)I |
|
|
|
move-result v0 |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/HashMultiset;->create(I)Lcom/google/common/collect/HashMultiset; |
|
|
|
move-result-object v0 |
|
|
|
.line 67 |
|
invoke-static {v0, p0}, Lcom/google/common/collect/Iterables;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z |
|
|
|
.line 68 |
|
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 92 |
|
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->defaultReadObject()V |
|
|
|
.line 93 |
|
invoke-static {p1}, Lcom/google/common/collect/Serialization;->readCount(Ljava/io/ObjectInputStream;)I |
|
|
|
move-result v0 |
|
|
|
.line 94 |
|
invoke-static {v0}, Lcom/google/common/collect/Maps;->newHashMapWithExpectedSize(I)Ljava/util/HashMap; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {p0, v1}, Lcom/google/common/collect/HashMultiset;->setBackingMap(Ljava/util/Map;)V |
|
|
|
.line 96 |
|
invoke-static {p0, p1, v0}, Lcom/google/common/collect/Serialization;->populateMultiset(Lcom/google/common/collect/Multiset;Ljava/io/ObjectInputStream;I)V |
|
|
|
.line 97 |
|
return-void |
|
.end method |
|
|
|
.method private writeObject(Ljava/io/ObjectOutputStream;)V |
|
.locals 0 |
|
.annotation build Lcom/google/common/annotations/GwtIncompatible; |
|
value = "java.io.ObjectOutputStream" |
|
.end annotation |
|
|
|
.prologue |
|
.line 85 |
|
invoke-virtual {p1}, Ljava/io/ObjectOutputStream;->defaultWriteObject()V |
|
|
|
.line 86 |
|
invoke-static {p0, p1}, Lcom/google/common/collect/Serialization;->writeMultiset(Lcom/google/common/collect/Multiset;Ljava/io/ObjectOutputStream;)V |
|
|
|
.line 87 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public bridge synthetic add(Ljava/lang/Object;I)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractMapBasedMultiset;->add(Ljava/lang/Object;I)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic add(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->add(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic addAll(Ljava/util/Collection;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->addAll(Ljava/util/Collection;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic clear()V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->clear()V |
|
|
|
return-void |
|
.end method |
|
|
|
.method public bridge synthetic contains(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->contains(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic count(Ljava/lang/Object;)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->count(Ljava/lang/Object;)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic elementSet()Ljava/util/Set; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->elementSet()Ljava/util/Set; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public bridge synthetic entrySet()Ljava/util/Set; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->entrySet()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 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->equals(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic hashCode()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->hashCode()I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic isEmpty()Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic iterator()Ljava/util/Iterator; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public bridge synthetic remove(Ljava/lang/Object;I)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractMapBasedMultiset;->remove(Ljava/lang/Object;I)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic remove(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->remove(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic removeAll(Ljava/util/Collection;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->removeAll(Ljava/util/Collection;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic retainAll(Ljava/util/Collection;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1}, Lcom/google/common/collect/AbstractMapBasedMultiset;->retainAll(Ljava/util/Collection;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic setCount(Ljava/lang/Object;I)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1, p2}, Lcom/google/common/collect/AbstractMapBasedMultiset;->setCount(Ljava/lang/Object;I)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic setCount(Ljava/lang/Object;II)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0, p1, p2, p3}, Lcom/google/common/collect/AbstractMapBasedMultiset;->setCount(Ljava/lang/Object;II)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic size()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->size()I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public bridge synthetic toString()Ljava/lang/String; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 34 |
|
invoke-super {p0}, Lcom/google/common/collect/AbstractMapBasedMultiset;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|