.class final Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue; .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 = "EvictionQueue" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/util/AbstractQueue", "<", "Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry", ";>;" } .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", ";" } .end annotation .end field # direct methods .method constructor ()V .locals 1 .prologue .line 3111 invoke-direct {p0}, Ljava/util/AbstractQueue;->()V .line 3112 new-instance v0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue$1; invoke-direct {v0, p0}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue$1;->(Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;)V iput-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; return-void .end method # virtual methods .method public clear()V .locals 2 .prologue .line 3205 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 .line 3206 :goto_0 iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; if-eq v0, v1, :cond_0 .line 3207 invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v1 .line 3208 invoke-static {v0}, Lcom/google/common/collect/MapMakerInternalMap;->nullifyEvictable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V move-object v0, v1 .line 3210 goto :goto_0 .line 3212 :cond_0 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->setNextEvictable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3213 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->setPreviousEvictable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3214 return-void .end method .method public contains(Ljava/lang/Object;)Z .locals 2 .prologue .line 3185 check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; .line 3186 invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()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 3191 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->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", ";>;" } .end annotation .prologue .line 3218 new-instance v0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue$2; invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->peek()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v1 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue$2;->(Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;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", ";)Z" } .end annotation .prologue .line 3144 invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getPreviousEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v1 invoke-static {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap;->connectEvictables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3147 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getPreviousEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 invoke-static {v0, p1}, Lcom/google/common/collect/MapMakerInternalMap;->connectEvictables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3148 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-static {p1, v0}, Lcom/google/common/collect/MapMakerInternalMap;->connectEvictables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3150 const/4 v0, 0x1 return v0 .end method .method public bridge synthetic offer(Ljava/lang/Object;)Z .locals 1 .prologue .line 3111 check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-virtual {p0, p1}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->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", ";" } .end annotation .prologue .line 3155 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 .line 3156 iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->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 3111 invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->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", ";" } .end annotation .prologue .line 3161 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 .line 3162 iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; if-ne v0, v1, :cond_0 .line 3163 const/4 v0, 0x0 .line 3167 :goto_0 return-object v0 .line 3166 :cond_0 invoke-virtual {p0, v0}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->remove(Ljava/lang/Object;)Z goto :goto_0 .end method .method public bridge synthetic poll()Ljava/lang/Object; .locals 1 .prologue .line 3111 invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->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 3173 check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; .line 3174 invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getPreviousEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 .line 3175 invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v1 .line 3176 invoke-static {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap;->connectEvictables(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3177 invoke-static {p1}, Lcom/google/common/collect/MapMakerInternalMap;->nullifyEvictable(Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;)V .line 3179 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 3196 const/4 v1, 0x0 .line 3197 iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 :goto_0 iget-object v2, p0, Lcom/google/common/collect/MapMakerInternalMap$EvictionQueue;->head:Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; if-eq v0, v2, :cond_0 .line 3198 add-int/lit8 v1, v1, 0x1 .line 3197 invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$ReferenceEntry; move-result-object v0 goto :goto_0 .line 3200 :cond_0 return v1 .end method