SettableFuture.smali
.class public final Landroidx/work/impl/utils/futures/SettableFuture;
.super Landroidx/work/impl/utils/futures/AbstractFuture;
.source "SettableFuture.java"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Landroidx/work/impl/utils/futures/AbstractFuture<",
"TV;>;"
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Landroidx/work/impl/utils/futures/AbstractFuture;-><init>()V
return-void
.end method
.method public static create()Landroidx/work/impl/utils/futures/SettableFuture;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">()",
"Landroidx/work/impl/utils/futures/SettableFuture<",
"TV;>;"
}
.end annotation
new-instance v0, Landroidx/work/impl/utils/futures/SettableFuture;
invoke-direct {v0}, Landroidx/work/impl/utils/futures/SettableFuture;-><init>()V
return-object v0
.end method
# virtual methods
.method public set(Ljava/lang/Object;)Z
.registers 2
.param p1 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)Z"
}
.end annotation
invoke-super {p0, p1}, Landroidx/work/impl/utils/futures/AbstractFuture;->set(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public setException(Ljava/lang/Throwable;)Z
.registers 2
invoke-super {p0, p1}, Landroidx/work/impl/utils/futures/AbstractFuture;->setException(Ljava/lang/Throwable;)Z
move-result p1
return p1
.end method
.method public setFuture(Ly3/a;)Z
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ly3/a<",
"+TV;>;)Z"
}
.end annotation
invoke-super {p0, p1}, Landroidx/work/impl/utils/futures/AbstractFuture;->setFuture(Ly3/a;)Z
move-result p1
return p1
.end method