150 lines
3.3 KiB
Smali
150 lines
3.3 KiB
Smali
.class final Lrx/internal/a/ay$2;
|
|
.super Lrx/Subscriber;
|
|
.source "OperatorTakeWhile.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/a/ay;
|
|
.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 bDL:Lrx/Subscriber;
|
|
|
|
.field final synthetic bGF:Lrx/internal/a/ay;
|
|
|
|
.field private bfz:I
|
|
|
|
.field private done:Z
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lrx/internal/a/ay;Lrx/Subscriber;Lrx/Subscriber;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lrx/internal/a/ay$2;->bGF:Lrx/internal/a/ay;
|
|
|
|
iput-object p3, p0, Lrx/internal/a/ay$2;->bDL:Lrx/Subscriber;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p2, p1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onCompleted()V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/ay$2;->done:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ay$2;->bDL:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0}, Lrx/Subscriber;->onCompleted()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/ay$2;->done:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ay$2;->bDL:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onNext(Ljava/lang/Object;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lrx/internal/a/ay$2;->bGF:Lrx/internal/a/ay;
|
|
|
|
iget-object v1, v1, Lrx/internal/a/ay;->bGe:Lrx/functions/Func2;
|
|
|
|
iget v2, p0, Lrx/internal/a/ay$2;->bfz:I
|
|
|
|
add-int/lit8 v3, v2, 0x1
|
|
|
|
iput v3, p0, Lrx/internal/a/ay$2;->bfz:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, p1, v2}, Lrx/functions/Func2;->call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v1
|
|
:try_end_0
|
|
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ay$2;->bDL:Lrx/Subscriber;
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iput-boolean v0, p0, Lrx/internal/a/ay$2;->done:Z
|
|
|
|
iget-object p1, p0, Lrx/internal/a/ay$2;->bDL:Lrx/Subscriber;
|
|
|
|
invoke-virtual {p1}, Lrx/Subscriber;->onCompleted()V
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ay$2;->unsubscribe()V
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
iput-boolean v0, p0, Lrx/internal/a/ay$2;->done:Z
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ay$2;->bDL:Lrx/Subscriber;
|
|
|
|
invoke-static {v1, v0, p1}, Lrx/a/b;->a(Ljava/lang/Throwable;Lrx/e;Ljava/lang/Object;)V
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ay$2;->unsubscribe()V
|
|
|
|
return-void
|
|
.end method
|