tmap/smali_classes3/com/google/common/util/concurrent/AbstractScheduledService$FutureAsCancellable.smali
2022-06-10 21:38:30 +09:00

76 lines
1.9 KiB
Smali

.class final Lcom/google/common/util/concurrent/AbstractScheduledService$FutureAsCancellable;
.super Ljava/lang/Object;
.source "AbstractScheduledService.java"
# interfaces
.implements Lcom/google/common/util/concurrent/AbstractScheduledService$Cancellable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/util/concurrent/AbstractScheduledService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "FutureAsCancellable"
.end annotation
# instance fields
.field private final delegate:Ljava/util/concurrent/Future;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Future<",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Future;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Future<",
"*>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/google/common/util/concurrent/AbstractScheduledService$FutureAsCancellable;->delegate:Ljava/util/concurrent/Future;
return-void
.end method
# virtual methods
.method public cancel(Z)V
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/AbstractScheduledService$FutureAsCancellable;->delegate:Ljava/util/concurrent/Future;
invoke-interface {v0, p1}, Ljava/util/concurrent/Future;->cancel(Z)Z
return-void
.end method
.method public isCancelled()Z
.locals 1
.line 1
iget-object v0, p0, Lcom/google/common/util/concurrent/AbstractScheduledService$FutureAsCancellable;->delegate:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->isCancelled()Z
move-result v0
return v0
.end method