143 lines
4.6 KiB
Smali
143 lines
4.6 KiB
Smali
.class Lrx/internal/operators/OperatorScan$3;
|
|
.super Lrx/Subscriber;
|
|
.source "OperatorScan.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lrx/internal/operators/OperatorScan;->call(Lrx/Subscriber;)Lrx/Subscriber;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lrx/Subscriber",
|
|
"<TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lrx/internal/operators/OperatorScan;
|
|
|
|
.field final synthetic val$initialValue:Ljava/lang/Object;
|
|
|
|
.field final synthetic val$ip:Lrx/internal/operators/OperatorScan$InitialProducer;
|
|
|
|
.field private value:Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TR;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lrx/internal/operators/OperatorScan;Ljava/lang/Object;Lrx/internal/operators/OperatorScan$InitialProducer;)V
|
|
.locals 1
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorScan$3;, "Lrx/internal/operators/OperatorScan.3;"
|
|
iput-object p1, p0, Lrx/internal/operators/OperatorScan$3;->this$0:Lrx/internal/operators/OperatorScan;
|
|
|
|
iput-object p2, p0, Lrx/internal/operators/OperatorScan$3;->val$initialValue:Ljava/lang/Object;
|
|
|
|
iput-object p3, p0, Lrx/internal/operators/OperatorScan$3;->val$ip:Lrx/internal/operators/OperatorScan$InitialProducer;
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
iget-object v0, p0, Lrx/internal/operators/OperatorScan$3;->val$initialValue:Ljava/lang/Object;
|
|
|
|
iput-object v0, p0, Lrx/internal/operators/OperatorScan$3;->value:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onCompleted()V
|
|
.locals 1
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorScan$3;, "Lrx/internal/operators/OperatorScan.3;"
|
|
iget-object v0, p0, Lrx/internal/operators/OperatorScan$3;->val$ip:Lrx/internal/operators/OperatorScan$InitialProducer;
|
|
|
|
invoke-virtual {v0}, Lrx/internal/operators/OperatorScan$InitialProducer;->onCompleted()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
.param p1, "e" # Ljava/lang/Throwable;
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorScan$3;, "Lrx/internal/operators/OperatorScan.3;"
|
|
iget-object v0, p0, Lrx/internal/operators/OperatorScan$3;->val$ip:Lrx/internal/operators/OperatorScan$InitialProducer;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/operators/OperatorScan$InitialProducer;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNext(Ljava/lang/Object;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorScan$3;, "Lrx/internal/operators/OperatorScan.3;"
|
|
.local p1, "currentValue":Ljava/lang/Object;, "TT;"
|
|
iget-object v1, p0, Lrx/internal/operators/OperatorScan$3;->value:Ljava/lang/Object;
|
|
|
|
.local v1, "v":Ljava/lang/Object;, "TR;"
|
|
:try_start_0
|
|
iget-object v2, p0, Lrx/internal/operators/OperatorScan$3;->this$0:Lrx/internal/operators/OperatorScan;
|
|
|
|
iget-object v2, v2, Lrx/internal/operators/OperatorScan;->accumulator:Lrx/functions/Func2;
|
|
|
|
invoke-interface {v2, v1, p1}, Lrx/functions/Func2;->call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lrx/internal/operators/OperatorScan$3;->value:Ljava/lang/Object;
|
|
|
|
iget-object v2, p0, Lrx/internal/operators/OperatorScan$3;->val$ip:Lrx/internal/operators/OperatorScan$InitialProducer;
|
|
|
|
invoke-virtual {v2, v1}, Lrx/internal/operators/OperatorScan$InitialProducer;->onNext(Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.local v0, "e":Ljava/lang/Throwable;
|
|
invoke-static {v0, p0, p1}, Lrx/exceptions/Exceptions;->throwOrReport(Ljava/lang/Throwable;Lrx/Observer;Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
.end method
|
|
|
|
.method public setProducer(Lrx/Producer;)V
|
|
.locals 1
|
|
.param p1, "producer" # Lrx/Producer;
|
|
|
|
.prologue
|
|
.local p0, "this":Lrx/internal/operators/OperatorScan$3;, "Lrx/internal/operators/OperatorScan.3;"
|
|
iget-object v0, p0, Lrx/internal/operators/OperatorScan$3;->val$ip:Lrx/internal/operators/OperatorScan$InitialProducer;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/operators/OperatorScan$InitialProducer;->setProducer(Lrx/Producer;)V
|
|
|
|
return-void
|
|
.end method
|