MapMakerInternalMap$f.smali

.class public final Lcom/google/common/collect/MapMakerInternalMap$f;
.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 = 0x19
    name = "f"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<K:",
        "Ljava/lang/Object;",
        "V:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/util/AbstractQueue<",
        "Lcom/google/common/collect/MapMakerInternalMap$k<",
        "TK;TV;>;>;"
    }
.end annotation


# instance fields
.field public final a:Lcom/google/common/collect/MapMakerInternalMap$k;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/common/collect/MapMakerInternalMap$k<",
            "TK;TV;>;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Ljava/util/AbstractQueue;-><init>()V

    new-instance v0, Lcom/google/common/collect/MapMakerInternalMap$f$a;

    invoke-direct {v0, p0}, Lcom/google/common/collect/MapMakerInternalMap$f$a;-><init>(Lcom/google/common/collect/MapMakerInternalMap$f;)V

    iput-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    return-void
.end method


# virtual methods
.method public a(Lcom/google/common/collect/MapMakerInternalMap$k;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/common/collect/MapMakerInternalMap$k<",
            "TK;TV;>;)Z"
        }
    .end annotation

    invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$k;->getPreviousEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap;->a(Lcom/google/common/collect/MapMakerInternalMap$k;Lcom/google/common/collect/MapMakerInternalMap$k;)V

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getPreviousEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/google/common/collect/MapMakerInternalMap;->a(Lcom/google/common/collect/MapMakerInternalMap$k;Lcom/google/common/collect/MapMakerInternalMap$k;)V

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-static {p1, v0}, Lcom/google/common/collect/MapMakerInternalMap;->a(Lcom/google/common/collect/MapMakerInternalMap$k;Lcom/google/common/collect/MapMakerInternalMap$k;)V

    const/4 p1, 0x1

    return p1
.end method

.method public clear()V
    .registers 3

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    :goto_6
    iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    if-eq v0, v1, :cond_13

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v1

    invoke-static {v0}, Lcom/google/common/collect/MapMakerInternalMap;->d(Lcom/google/common/collect/MapMakerInternalMap$k;)V

    move-object v0, v1

    goto :goto_6

    :cond_13
    invoke-interface {v1, v1}, Lcom/google/common/collect/MapMakerInternalMap$k;->setNextEvictable(Lcom/google/common/collect/MapMakerInternalMap$k;)V

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0, v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->setPreviousEvictable(Lcom/google/common/collect/MapMakerInternalMap$k;)V

    return-void
.end method

.method public contains(Ljava/lang/Object;)Z
    .registers 3

    check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object p1

    sget-object v0, Lcom/google/common/collect/MapMakerInternalMap$NullEntry;->INSTANCE:Lcom/google/common/collect/MapMakerInternalMap$NullEntry;

    if-eq p1, v0, :cond_c

    const/4 p1, 0x1

    goto :goto_d

    :cond_c
    const/4 p1, 0x0

    :goto_d
    return p1
.end method

.method public isEmpty()Z
    .registers 3

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    if-ne v0, v1, :cond_c

    const/4 v0, 0x1

    goto :goto_d

    :cond_c
    const/4 v0, 0x0

    :goto_d
    return v0
.end method

.method public iterator()Ljava/util/Iterator;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Iterator<",
            "Lcom/google/common/collect/MapMakerInternalMap$k<",
            "TK;TV;>;>;"
        }
    .end annotation

    new-instance v0, Lcom/google/common/collect/MapMakerInternalMap$f$b;

    invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$f;->peek()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/google/common/collect/MapMakerInternalMap$f$b;-><init>(Lcom/google/common/collect/MapMakerInternalMap$f;Lcom/google/common/collect/MapMakerInternalMap$k;)V

    return-object v0
.end method

.method public bridge synthetic offer(Ljava/lang/Object;)Z
    .registers 2

    check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-virtual {p0, p1}, Lcom/google/common/collect/MapMakerInternalMap$f;->a(Lcom/google/common/collect/MapMakerInternalMap$k;)Z

    move-result p1

    return p1
.end method

.method public peek()Lcom/google/common/collect/MapMakerInternalMap$k;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/google/common/collect/MapMakerInternalMap$k<",
            "TK;TV;>;"
        }
    .end annotation

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    if-ne v0, v1, :cond_b

    const/4 v0, 0x0

    :cond_b
    return-object v0
.end method

.method public bridge synthetic peek()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$f;->peek()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    return-object v0
.end method

.method public poll()Lcom/google/common/collect/MapMakerInternalMap$k;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/google/common/collect/MapMakerInternalMap$k<",
            "TK;TV;>;"
        }
    .end annotation

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    if-ne v0, v1, :cond_c

    const/4 v0, 0x0

    return-object v0

    :cond_c
    invoke-virtual {p0, v0}, Lcom/google/common/collect/MapMakerInternalMap$f;->remove(Ljava/lang/Object;)Z

    return-object v0
.end method

.method public bridge synthetic poll()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$f;->poll()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    return-object v0
.end method

.method public remove(Ljava/lang/Object;)Z
    .registers 4

    check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$k;->getPreviousEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    invoke-interface {p1}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/google/common/collect/MapMakerInternalMap;->a(Lcom/google/common/collect/MapMakerInternalMap$k;Lcom/google/common/collect/MapMakerInternalMap$k;)V

    invoke-static {p1}, Lcom/google/common/collect/MapMakerInternalMap;->d(Lcom/google/common/collect/MapMakerInternalMap$k;)V

    sget-object p1, Lcom/google/common/collect/MapMakerInternalMap$NullEntry;->INSTANCE:Lcom/google/common/collect/MapMakerInternalMap$NullEntry;

    if-eq v1, p1, :cond_16

    const/4 p1, 0x1

    goto :goto_17

    :cond_16
    const/4 p1, 0x0

    :goto_17
    return p1
.end method

.method public size()I
    .registers 4

    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    const/4 v1, 0x0

    :goto_7
    iget-object v2, p0, Lcom/google/common/collect/MapMakerInternalMap$f;->a:Lcom/google/common/collect/MapMakerInternalMap$k;

    if-eq v0, v2, :cond_12

    add-int/lit8 v1, v1, 0x1

    invoke-interface {v0}, Lcom/google/common/collect/MapMakerInternalMap$k;->getNextEvictable()Lcom/google/common/collect/MapMakerInternalMap$k;

    move-result-object v0

    goto :goto_7

    :cond_12
    return v1
.end method