ak.smali

.class final Lcom/google/common/util/concurrent/ak;
.super Lcom/google/common/util/concurrent/p;
.source "MoreExecutors.java"

# interfaces
.implements Lcom/google/common/util/concurrent/aa;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<V:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/google/common/util/concurrent/p",
        "<TV;>;",
        "Lcom/google/common/util/concurrent/aa",
        "<TV;>;"
    }
.end annotation


# instance fields
.field private final aZj:Ljava/util/concurrent/ScheduledFuture;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/ScheduledFuture",
            "<*>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/google/common/util/concurrent/y;Ljava/util/concurrent/ScheduledFuture;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/common/util/concurrent/y",
            "<TV;>;",
            "Ljava/util/concurrent/ScheduledFuture",
            "<*>;)V"
        }
    .end annotation

    .prologue
    .line 610
    invoke-direct {p0, p1}, Lcom/google/common/util/concurrent/p;-><init>(Lcom/google/common/util/concurrent/y;)V

    .line 611
    iput-object p2, p0, Lcom/google/common/util/concurrent/ak;->aZj:Ljava/util/concurrent/ScheduledFuture;

    .line 612
    return-void
.end method


# virtual methods
.method public final cancel(Z)Z
    .registers 4

    .prologue
    .line 616
    invoke-super {p0, p1}, Lcom/google/common/util/concurrent/p;->cancel(Z)Z

    move-result v0

    .line 617
    if-eqz v0, :cond_b

    .line 619
    iget-object v1, p0, Lcom/google/common/util/concurrent/ak;->aZj:Ljava/util/concurrent/ScheduledFuture;

    invoke-interface {v1, p1}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z

    .line 623
    :cond_b
    return v0
.end method

.method public final bridge synthetic compareTo(Ljava/lang/Object;)I
    .registers 3

    .prologue
    .line 601
    check-cast p1, Ljava/util/concurrent/Delayed;

    .line 1633
    iget-object v0, p0, Lcom/google/common/util/concurrent/ak;->aZj:Ljava/util/concurrent/ScheduledFuture;

    invoke-interface {v0, p1}, Ljava/util/concurrent/ScheduledFuture;->compareTo(Ljava/lang/Object;)I

    move-result v0

    .line 601
    return v0
.end method

.method public final getDelay(Ljava/util/concurrent/TimeUnit;)J
    .registers 4

    .prologue
    .line 628
    iget-object v0, p0, Lcom/google/common/util/concurrent/ak;->aZj:Ljava/util/concurrent/ScheduledFuture;

    invoke-interface {v0, p1}, Ljava/util/concurrent/ScheduledFuture;->getDelay(Ljava/util/concurrent/TimeUnit;)J

    move-result-wide v0

    return-wide v0
.end method