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.
257 lines
7.4 KiB
257 lines
7.4 KiB
.class Lcom/google/common/collect/TreeMultiset$3; |
|
.super Ljava/lang/Object; |
|
.source "TreeMultiset.java" |
|
|
|
# interfaces |
|
.implements Ljava/util/Iterator; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/google/common/collect/TreeMultiset;->descendingEntryIterator()Ljava/util/Iterator; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/lang/Object;", |
|
"Ljava/util/Iterator", |
|
"<", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/TreeMultiset$AvlNode", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field prevEntry:Lcom/google/common/collect/Multiset$Entry; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field final synthetic this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/collect/TreeMultiset;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 444 |
|
iput-object p1, p0, Lcom/google/common/collect/TreeMultiset$3;->this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 445 |
|
iget-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/TreeMultiset;->access$1600(Lcom/google/common/collect/TreeMultiset;)Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
move-result-object v0 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
.line 446 |
|
const/4 v0, 0x0 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->prevEntry:Lcom/google/common/collect/Multiset$Entry; |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public hasNext()Z |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v0, 0x0 |
|
|
|
.line 450 |
|
iget-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
if-nez v1, :cond_0 |
|
|
|
.line 456 |
|
:goto_0 |
|
return v0 |
|
|
|
.line 452 |
|
:cond_0 |
|
iget-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
invoke-static {v1}, Lcom/google/common/collect/TreeMultiset;->access$1300(Lcom/google/common/collect/TreeMultiset;)Lcom/google/common/collect/GeneralRange; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
invoke-virtual {v2}, Lcom/google/common/collect/TreeMultiset$AvlNode;->getElement()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Lcom/google/common/collect/GeneralRange;->tooLow(Ljava/lang/Object;)Z |
|
|
|
move-result v1 |
|
|
|
if-eqz v1, :cond_1 |
|
|
|
.line 453 |
|
const/4 v1, 0x0 |
|
|
|
iput-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
goto :goto_0 |
|
|
|
.line 456 |
|
:cond_1 |
|
const/4 v0, 0x1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public next()Lcom/google/common/collect/Multiset$Entry; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/Multiset$Entry", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 462 |
|
invoke-virtual {p0}, Lcom/google/common/collect/TreeMultiset$3;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 463 |
|
new-instance v0, Ljava/util/NoSuchElementException; |
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V |
|
|
|
throw v0 |
|
|
|
.line 465 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
invoke-static {v0, v1}, Lcom/google/common/collect/TreeMultiset;->access$1400(Lcom/google/common/collect/TreeMultiset;Lcom/google/common/collect/TreeMultiset$AvlNode;)Lcom/google/common/collect/Multiset$Entry; |
|
|
|
move-result-object v0 |
|
|
|
.line 466 |
|
iput-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->prevEntry:Lcom/google/common/collect/Multiset$Entry; |
|
|
|
.line 467 |
|
iget-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
invoke-static {v1}, Lcom/google/common/collect/TreeMultiset$AvlNode;->access$1100(Lcom/google/common/collect/TreeMultiset$AvlNode;)Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/TreeMultiset$3;->this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
invoke-static {v2}, Lcom/google/common/collect/TreeMultiset;->access$1500(Lcom/google/common/collect/TreeMultiset;)Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
move-result-object v2 |
|
|
|
if-ne v1, v2, :cond_1 |
|
|
|
.line 468 |
|
const/4 v1, 0x0 |
|
|
|
iput-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
.line 472 |
|
:goto_0 |
|
return-object v0 |
|
|
|
.line 470 |
|
:cond_1 |
|
iget-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
invoke-static {v1}, Lcom/google/common/collect/TreeMultiset$AvlNode;->access$1100(Lcom/google/common/collect/TreeMultiset$AvlNode;)Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
move-result-object v1 |
|
|
|
iput-object v1, p0, Lcom/google/common/collect/TreeMultiset$3;->current:Lcom/google/common/collect/TreeMultiset$AvlNode; |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public bridge synthetic next()Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 444 |
|
invoke-virtual {p0}, Lcom/google/common/collect/TreeMultiset$3;->next()Lcom/google/common/collect/Multiset$Entry; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public remove()V |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v1, 0x0 |
|
|
|
.line 477 |
|
iget-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->prevEntry:Lcom/google/common/collect/Multiset$Entry; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
const/4 v0, 0x1 |
|
|
|
:goto_0 |
|
invoke-static {v0}, Lcom/google/common/collect/CollectPreconditions;->checkRemove(Z)V |
|
|
|
.line 478 |
|
iget-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->this$0:Lcom/google/common/collect/TreeMultiset; |
|
|
|
iget-object v2, p0, Lcom/google/common/collect/TreeMultiset$3;->prevEntry:Lcom/google/common/collect/Multiset$Entry; |
|
|
|
invoke-interface {v2}, Lcom/google/common/collect/Multiset$Entry;->getElement()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/common/collect/TreeMultiset;->setCount(Ljava/lang/Object;I)I |
|
|
|
.line 479 |
|
const/4 v0, 0x0 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/TreeMultiset$3;->prevEntry:Lcom/google/common/collect/Multiset$Entry; |
|
|
|
.line 480 |
|
return-void |
|
|
|
:cond_0 |
|
move v0, v1 |
|
|
|
.line 477 |
|
goto :goto_0 |
|
.end method
|
|
|