FlowableJust.smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableJust;
.super Lio/reactivex/Flowable;
.source "FlowableJust.java"
# interfaces
.implements Lio/reactivex/internal/fuseable/ScalarCallable;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/Flowable<",
"TT;>;",
"Lio/reactivex/internal/fuseable/ScalarCallable<",
"TT;>;"
}
.end annotation
# instance fields
.field private final value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 28
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableJust;, "Lio/reactivex/internal/operators/flowable/FlowableJust<TT;>;"
.local p1, "value":Ljava/lang/Object;, "TT;"
invoke-direct {p0}, Lio/reactivex/Flowable;-><init>()V
.line 29
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableJust;->value:Ljava/lang/Object;
.line 30
return-void
.end method
# virtual methods
.method public call()Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.line 39
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableJust;, "Lio/reactivex/internal/operators/flowable/FlowableJust<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableJust;->value:Ljava/lang/Object;
return-object v0
.end method
.method protected subscribeActual(Lorg/reactivestreams/Subscriber;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/Subscriber<",
"-TT;>;)V"
}
.end annotation
.line 34
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableJust;, "Lio/reactivex/internal/operators/flowable/FlowableJust<TT;>;"
.local p1, "s":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-TT;>;"
new-instance v0, Lio/reactivex/internal/subscriptions/ScalarSubscription;
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableJust;->value:Ljava/lang/Object;
invoke-direct {v0, p1, v1}, Lio/reactivex/internal/subscriptions/ScalarSubscription;-><init>(Lorg/reactivestreams/Subscriber;Ljava/lang/Object;)V
invoke-interface {p1, v0}, Lorg/reactivestreams/Subscriber;->onSubscribe(Lorg/reactivestreams/Subscription;)V
.line 35
return-void
.end method