n.smali
.class public final Lio/reactivex/internal/operators/observable/n;
.super Lio/reactivex/y;
.source "ObservableCollectSingle.java"
# interfaces
.implements Lio/reactivex/c/a/b;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/n$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/y<",
"TU;>;",
"Lio/reactivex/c/a/b<",
"TU;>;"
}
.end annotation
# instance fields
.field final a:Lio/reactivex/u;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/u<",
"TT;>;"
}
.end annotation
.end field
.field final b:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+TU;>;"
}
.end annotation
.end field
.field final c:Lio/reactivex/b/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/b<",
"-TU;-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/u;Ljava/util/concurrent/Callable;Lio/reactivex/b/b;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/u<",
"TT;>;",
"Ljava/util/concurrent/Callable<",
"+TU;>;",
"Lio/reactivex/b/b<",
"-TU;-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/y;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/n;->a:Lio/reactivex/u;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/n;->b:Ljava/util/concurrent/Callable;
.line 4
iput-object p3, p0, Lio/reactivex/internal/operators/observable/n;->c:Lio/reactivex/b/b;
return-void
.end method
# virtual methods
.method public a()Lio/reactivex/p;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lio/reactivex/p<",
"TU;>;"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/internal/operators/observable/m;
iget-object v1, p0, Lio/reactivex/internal/operators/observable/n;->a:Lio/reactivex/u;
iget-object v2, p0, Lio/reactivex/internal/operators/observable/n;->b:Ljava/util/concurrent/Callable;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/n;->c:Lio/reactivex/b/b;
invoke-direct {v0, v1, v2, v3}, Lio/reactivex/internal/operators/observable/m;-><init>(Lio/reactivex/u;Ljava/util/concurrent/Callable;Lio/reactivex/b/b;)V
invoke-static {v0}, Lio/reactivex/e/a;->a(Lio/reactivex/p;)Lio/reactivex/p;
move-result-object v0
return-object v0
.end method
.method protected b(Lio/reactivex/z;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/z<",
"-TU;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/n;->b:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "The initialSupplier returned a null value"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_b
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_18
.line 2
iget-object v1, p0, Lio/reactivex/internal/operators/observable/n;->a:Lio/reactivex/u;
new-instance v2, Lio/reactivex/internal/operators/observable/n$a;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/n;->c:Lio/reactivex/b/b;
invoke-direct {v2, p1, v0, v3}, Lio/reactivex/internal/operators/observable/n$a;-><init>(Lio/reactivex/z;Ljava/lang/Object;Lio/reactivex/b/b;)V
invoke-interface {v1, v2}, Lio/reactivex/u;->subscribe(Lio/reactivex/w;)V
return-void
:catch_18
move-exception v0
.line 3
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/z;)V
return-void
.end method