z.smali

.class public final Lcom/google/common/util/concurrent/z;
.super Ljava/util/concurrent/FutureTask;
.source "ListenableFutureTask.java"

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


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


# instance fields
.field private final aYe:Lcom/google/common/util/concurrent/l;


# direct methods
.method private constructor <init>(Ljava/lang/Runnable;Ljava/lang/Object;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Runnable;",
            "TV;)V"
        }
    .end annotation

    .prologue
    .line 78
    invoke-direct {p0, p1, p2}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/lang/Runnable;Ljava/lang/Object;)V

    .line 43
    new-instance v0, Lcom/google/common/util/concurrent/l;

    invoke-direct {v0}, Lcom/google/common/util/concurrent/l;-><init>()V

    iput-object v0, p0, Lcom/google/common/util/concurrent/z;->aYe:Lcom/google/common/util/concurrent/l;

    .line 79
    return-void
.end method

.method private constructor <init>(Ljava/util/concurrent/Callable;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable",
            "<TV;>;)V"
        }
    .end annotation

    .prologue
    .line 74
    invoke-direct {p0, p1}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/util/concurrent/Callable;)V

    .line 43
    new-instance v0, Lcom/google/common/util/concurrent/l;

    invoke-direct {v0}, Lcom/google/common/util/concurrent/l;-><init>()V

    iput-object v0, p0, Lcom/google/common/util/concurrent/z;->aYe:Lcom/google/common/util/concurrent/l;

    .line 75
    return-void
.end method

.method public static a(Ljava/lang/Runnable;Ljava/lang/Object;)Lcom/google/common/util/concurrent/z;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Runnable;",
            "TV;)",
            "Lcom/google/common/util/concurrent/z",
            "<TV;>;"
        }
    .end annotation

    .prologue
    .line 70
    new-instance v0, Lcom/google/common/util/concurrent/z;

    invoke-direct {v0, p0, p1}, Lcom/google/common/util/concurrent/z;-><init>(Ljava/lang/Runnable;Ljava/lang/Object;)V

    return-object v0
.end method

.method public static c(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/z;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/concurrent/Callable",
            "<TV;>;)",
            "Lcom/google/common/util/concurrent/z",
            "<TV;>;"
        }
    .end annotation

    .prologue
    .line 53
    new-instance v0, Lcom/google/common/util/concurrent/z;

    invoke-direct {v0, p0}, Lcom/google/common/util/concurrent/z;-><init>(Ljava/util/concurrent/Callable;)V

    return-object v0
.end method


# virtual methods
.method public final a(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
    .registers 4

    .prologue
    .line 83
    iget-object v0, p0, Lcom/google/common/util/concurrent/z;->aYe:Lcom/google/common/util/concurrent/l;

    invoke-virtual {v0, p1, p2}, Lcom/google/common/util/concurrent/l;->b(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    .line 84
    return-void
.end method

.method protected final done()V
    .registers 2

    .prologue
    .line 91
    iget-object v0, p0, Lcom/google/common/util/concurrent/z;->aYe:Lcom/google/common/util/concurrent/l;

    invoke-virtual {v0}, Lcom/google/common/util/concurrent/l;->execute()V

    .line 92
    return-void
.end method