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.
532 lines
14 KiB
532 lines
14 KiB
.class abstract Lcom/google/common/collect/DescendingMultiset; |
|
.super Lcom/google/common/collect/ForwardingMultiset; |
|
.source "DescendingMultiset.java" |
|
|
|
# interfaces |
|
.implements Lcom/google/common/collect/SortedMultiset; |
|
|
|
|
|
# annotations |
|
.annotation build Lcom/google/common/annotations/GwtCompatible; |
|
emulated = true |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<E:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Lcom/google/common/collect/ForwardingMultiset", |
|
"<TE;>;", |
|
"Lcom/google/common/collect/SortedMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field private transient comparator:Ljava/util/Comparator; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/util/Comparator", |
|
"<-TE;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field private transient elementSet:Ljava/util/SortedSet; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/util/SortedSet", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field private transient entrySet:Ljava/util/Set; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/util/Set", |
|
"<", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method constructor <init>()V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 33 |
|
invoke-direct {p0}, Lcom/google/common/collect/ForwardingMultiset;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public comparator()Ljava/util/Comparator; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Comparator", |
|
"<-TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 40 |
|
iget-object v0, p0, Lcom/google/common/collect/DescendingMultiset;->comparator:Ljava/util/Comparator; |
|
|
|
.line 41 |
|
if-nez v0, :cond_0 |
|
|
|
.line 42 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->comparator()Ljava/util/Comparator; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/Ordering;->from(Ljava/util/Comparator;)Lcom/google/common/collect/Ordering; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/Ordering;->reverse()Lcom/google/common/collect/Ordering; |
|
|
|
move-result-object v0 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/DescendingMultiset;->comparator:Ljava/util/Comparator; |
|
|
|
.line 45 |
|
:cond_0 |
|
return-object v0 |
|
.end method |
|
|
|
.method createEntrySet()Ljava/util/Set; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Set", |
|
"<", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 110 |
|
new-instance v0, Lcom/google/common/collect/DescendingMultiset$1; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/DescendingMultiset$1;-><init>(Lcom/google/common/collect/DescendingMultiset;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method protected delegate()Lcom/google/common/collect/Multiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/Multiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 85 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method protected bridge synthetic delegate()Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 32 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->delegate()Lcom/google/common/collect/Multiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method protected bridge synthetic delegate()Ljava/util/Collection; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 32 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->delegate()Lcom/google/common/collect/Multiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public descendingMultiset()Lcom/google/common/collect/SortedMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/SortedMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 89 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public bridge synthetic elementSet()Ljava/util/Set; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 32 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->elementSet()Ljava/util/SortedSet; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public elementSet()Ljava/util/SortedSet; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/SortedSet", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 51 |
|
iget-object v0, p0, Lcom/google/common/collect/DescendingMultiset;->elementSet:Ljava/util/SortedSet; |
|
|
|
.line 52 |
|
if-nez v0, :cond_0 |
|
|
|
.line 53 |
|
new-instance v0, Lcom/google/common/collect/SortedMultisets$ElementSet; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/SortedMultisets$ElementSet;-><init>(Lcom/google/common/collect/SortedMultiset;)V |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/DescendingMultiset;->elementSet:Ljava/util/SortedSet; |
|
|
|
.line 55 |
|
:cond_0 |
|
return-object v0 |
|
.end method |
|
|
|
.method abstract entryIterator()Ljava/util/Iterator; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Iterator", |
|
"<", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;>;" |
|
} |
|
.end annotation |
|
.end method |
|
|
|
.method public entrySet()Ljava/util/Set; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Set", |
|
"<", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 105 |
|
iget-object v0, p0, Lcom/google/common/collect/DescendingMultiset;->entrySet:Ljava/util/Set; |
|
|
|
.line 106 |
|
if-nez v0, :cond_0 |
|
|
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->createEntrySet()Ljava/util/Set; |
|
|
|
move-result-object v0 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/DescendingMultiset;->entrySet:Ljava/util/Set; |
|
|
|
:cond_0 |
|
return-object v0 |
|
.end method |
|
|
|
.method public firstEntry()Lcom/google/common/collect/Multiset$Entry; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 93 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->lastEntry()Lcom/google/common/collect/Multiset$Entry; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method abstract forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/SortedMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
.end method |
|
|
|
.method public headMultiset(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TE;", |
|
"Lcom/google/common/collect/BoundType;", |
|
")", |
|
"Lcom/google/common/collect/SortedMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 68 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0, p1, p2}, Lcom/google/common/collect/SortedMultiset;->tailMultiset(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->descendingMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public iterator()Ljava/util/Iterator; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Iterator", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 126 |
|
invoke-static {p0}, Lcom/google/common/collect/Multisets;->iteratorImpl(Lcom/google/common/collect/Multiset;)Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public lastEntry()Lcom/google/common/collect/Multiset$Entry; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 97 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->firstEntry()Lcom/google/common/collect/Multiset$Entry; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public pollFirstEntry()Lcom/google/common/collect/Multiset$Entry; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 59 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->pollLastEntry()Lcom/google/common/collect/Multiset$Entry; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public pollLastEntry()Lcom/google/common/collect/Multiset$Entry; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 63 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->pollFirstEntry()Lcom/google/common/collect/Multiset$Entry; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public subMultiset(Ljava/lang/Object;Lcom/google/common/collect/BoundType;Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TE;", |
|
"Lcom/google/common/collect/BoundType;", |
|
"TE;", |
|
"Lcom/google/common/collect/BoundType;", |
|
")", |
|
"Lcom/google/common/collect/SortedMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 74 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0, p3, p4, p1, p2}, Lcom/google/common/collect/SortedMultiset;->subMultiset(Ljava/lang/Object;Lcom/google/common/collect/BoundType;Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->descendingMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public tailMultiset(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TE;", |
|
"Lcom/google/common/collect/BoundType;", |
|
")", |
|
"Lcom/google/common/collect/SortedMultiset", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 80 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->forwardMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0, p1, p2}, Lcom/google/common/collect/SortedMultiset;->headMultiset(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Lcom/google/common/collect/SortedMultiset;->descendingMultiset()Lcom/google/common/collect/SortedMultiset; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public toArray()[Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 130 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->standardToArray()[Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<T:", |
|
"Ljava/lang/Object;", |
|
">([TT;)[TT;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 134 |
|
invoke-virtual {p0, p1}, Lcom/google/common/collect/DescendingMultiset;->standardToArray([Ljava/lang/Object;)[Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public toString()Ljava/lang/String; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 138 |
|
invoke-virtual {p0}, Lcom/google/common/collect/DescendingMultiset;->entrySet()Ljava/util/Set; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|