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

406 lines
13 KiB

.class final Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;
.super Ljava/util/AbstractQueue;
.source "MapMakerInternalMap.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/MapMakerInternalMap;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "ExpirationQueue"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/util/AbstractQueue",
"<",
"Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry",
"<TK;TV;>;>;"
}
.end annotation
# instance fields
.field final head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry",
"<TK;TV;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>()V
.locals 1
.prologue
.line 3239
invoke-direct {p0}, Ljava/util/AbstractQueue;-><init>()V
.line 3240
new-instance v0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue$1;
invoke-direct {v0, p0}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue$1;-><init>(Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;)V
iput-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
return-void
.end method
# virtual methods
.method public clear()V
.locals 2
.prologue
.line 3341
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
.line 3342
:goto_0
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
if-eq v0, v1, :cond_0
.line 3343
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v1
.line 3344
invoke-static {v0}, Lcom/google/common/collect/MapMakerInternalMap;->nullifyExpirable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
move-object v0, v1
.line 3346
goto :goto_0
.line 3348
:cond_0
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->setNextExpirable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3349
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->setPreviousExpirable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3350
return-void
.end method
.method public contains(Ljava/lang/Object;)Z
.locals 2
.prologue
.line 3321
check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
.line 3322
invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
sget-object v1, Lcom/google/common/collect/MapMakerInternalMap$NullEntry;->INSTANCE:Lcom/google/common/collect/MapMakerInternalMap$NullEntry;
if-eq v0, v1, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public isEmpty()Z
.locals 2
.prologue
.line 3327
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public iterator()Ljava/util/Iterator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator",
"<",
"Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry",
"<TK;TV;>;>;"
}
.end annotation
.prologue
.line 3354
new-instance v0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue$2;
invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->peek()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v1
invoke-direct {v0, p0, v1}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue$2;-><init>(Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
return-object v0
.end method
.method public offer(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry",
"<TK;TV;>;)Z"
}
.end annotation
.prologue
.line 3280
invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getPreviousExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v1
invoke-static {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap;->connectExpirables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3283
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getPreviousExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
invoke-static {v0, p1}, Lcom/google/common/collect/MapMakerInternalMap;->connectExpirables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3284
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-static {p1, v0}, Lcom/google/common/collect/MapMakerInternalMap;->connectExpirables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3286
const/4 v0, 0x1
return v0
.end method
.method public bridge synthetic offer(Ljava/lang/Object;)Z
.locals 1
.prologue
.line 3239
check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-virtual {p0, p1}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->offer(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)Z
move-result v0
return v0
.end method
.method public peek()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 3291
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
.line 3292
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
if-ne v0, v1, :cond_0
const/4 v0, 0x0
:cond_0
return-object v0
.end method
.method public bridge synthetic peek()Ljava/lang/Object;
.locals 1
.prologue
.line 3239
invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->peek()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
return-object v0
.end method
.method public poll()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 3297
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
.line 3298
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
if-ne v0, v1, :cond_0
.line 3299
const/4 v0, 0x0
.line 3303
:goto_0
return-object v0
.line 3302
:cond_0
invoke-virtual {p0, v0}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->remove(Ljava/lang/Object;)Z
goto :goto_0
.end method
.method public bridge synthetic poll()Ljava/lang/Object;
.locals 1
.prologue
.line 3239
invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->poll()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
return-object v0
.end method
.method public remove(Ljava/lang/Object;)Z
.locals 2
.prologue
.line 3309
check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
.line 3310
invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getPreviousExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
.line 3311
invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v1
.line 3312
invoke-static {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap;->connectExpirables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3313
invoke-static {p1}, Lcom/google/common/collect/MapMakerInternalMap;->nullifyExpirable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V
.line 3315
sget-object v0, Lcom/google/common/collect/MapMakerInternalMap$NullEntry;->INSTANCE:Lcom/google/common/collect/MapMakerInternalMap$NullEntry;
if-eq v1, v0, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public size()I
.locals 3
.prologue
.line 3332
const/4 v1, 0x0
.line 3333
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
:goto_0
iget-object v2, p0, Lcom/google/common/collect/MapMakerInternalMap$ExpirationQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
if-eq v0, v2, :cond_0
.line 3334
add-int/lit8 v1, v1, 0x1
.line 3333
invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextExpirable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;
move-result-object v0
goto :goto_0
.line 3336
:cond_0
return v1
.end method