90 lines
2.1 KiB
Smali
90 lines
2.1 KiB
Smali
.class public final Lrx/internal/operators/OnSubscribeRange;
|
|
.super Ljava/lang/Object;
|
|
.source "OnSubscribeRange.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/Observable$OnSubscribe;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lrx/internal/operators/OnSubscribeRange$RangeProducer;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lrx/Observable$OnSubscribe",
|
|
"<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final endIndex:I
|
|
|
|
.field private final startIndex:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
.param p1, "start" # I
|
|
.param p2, "end" # I
|
|
|
|
.prologue
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lrx/internal/operators/OnSubscribeRange;->startIndex:I
|
|
|
|
iput p2, p0, Lrx/internal/operators/OnSubscribeRange;->endIndex:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)V
|
|
.locals 0
|
|
.param p1, "x0" # Ljava/lang/Object;
|
|
|
|
.prologue
|
|
check-cast p1, Lrx/Subscriber;
|
|
|
|
.end local p1 # "x0":Ljava/lang/Object;
|
|
invoke-virtual {p0, p1}, Lrx/internal/operators/OnSubscribeRange;->call(Lrx/Subscriber;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public call(Lrx/Subscriber;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Subscriber",
|
|
"<-",
|
|
"Ljava/lang/Integer;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.local p1, "childSubscriber":Lrx/Subscriber;, "Lrx/Subscriber<-Ljava/lang/Integer;>;"
|
|
new-instance v0, Lrx/internal/operators/OnSubscribeRange$RangeProducer;
|
|
|
|
iget v1, p0, Lrx/internal/operators/OnSubscribeRange;->startIndex:I
|
|
|
|
iget v2, p0, Lrx/internal/operators/OnSubscribeRange;->endIndex:I
|
|
|
|
invoke-direct {v0, p1, v1, v2}, Lrx/internal/operators/OnSubscribeRange$RangeProducer;-><init>(Lrx/Subscriber;II)V
|
|
|
|
invoke-virtual {p1, v0}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|