FlowableRange.smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableRange;
.super Lio/reactivex/Flowable;
.source "FlowableRange.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/flowable/FlowableRange$RangeConditionalSubscription;,
Lio/reactivex/internal/operators/flowable/FlowableRange$RangeSubscription;,
Lio/reactivex/internal/operators/flowable/FlowableRange$BaseRangeSubscription;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/Flowable<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field final end:I
.field final start:I
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(II)V
.registers 4
.param p1, "start" # I
.param p2, "count" # I
.line 30
invoke-direct {p0}, Lio/reactivex/Flowable;-><init>()V
.line 31
iput p1, p0, Lio/reactivex/internal/operators/flowable/FlowableRange;->start:I
.line 32
add-int v0, p1, p2
iput v0, p0, Lio/reactivex/internal/operators/flowable/FlowableRange;->end:I
.line 33
return-void
.end method
# virtual methods
.method public subscribeActual(Lorg/reactivestreams/Subscriber;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/Subscriber<",
"-",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.line 36
.local p1, "s":Lorg/reactivestreams/Subscriber;, "Lorg/reactivestreams/Subscriber<-Ljava/lang/Integer;>;"
instance-of v0, p1, Lio/reactivex/internal/fuseable/ConditionalSubscriber;
if-eqz v0, :cond_14
.line 37
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableRange$RangeConditionalSubscription;
move-object v1, p1
check-cast v1, Lio/reactivex/internal/fuseable/ConditionalSubscriber;
iget v2, p0, Lio/reactivex/internal/operators/flowable/FlowableRange;->start:I
iget v3, p0, Lio/reactivex/internal/operators/flowable/FlowableRange;->end:I
invoke-direct {v0, v1, v2, v3}, Lio/reactivex/internal/operators/flowable/FlowableRange$RangeConditionalSubscription;-><init>(Lio/reactivex/internal/fuseable/ConditionalSubscriber;II)V
invoke-interface {p1, v0}, Lorg/reactivestreams/Subscriber;->onSubscribe(Lorg/reactivestreams/Subscription;)V
goto :goto_20
.line 40
:cond_14
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableRange$RangeSubscription;
iget v1, p0, Lio/reactivex/internal/operators/flowable/FlowableRange;->start:I
iget v2, p0, Lio/reactivex/internal/operators/flowable/FlowableRange;->end:I
invoke-direct {v0, p1, v1, v2}, Lio/reactivex/internal/operators/flowable/FlowableRange$RangeSubscription;-><init>(Lorg/reactivestreams/Subscriber;II)V
invoke-interface {p1, v0}, Lorg/reactivestreams/Subscriber;->onSubscribe(Lorg/reactivestreams/Subscription;)V
.line 42
:goto_20
return-void
.end method