q1.smali
.class public final Lio/reactivex/internal/operators/observable/q1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/functions/n;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/functions/n<",
"TT;",
"Lio/reactivex/l<",
"TR;>;>;"
}
.end annotation
# instance fields
.field public final a:Lio/reactivex/functions/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/n<",
"-TT;+",
"Lio/reactivex/w<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/functions/n;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/n<",
"-TT;+",
"Lio/reactivex/w<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/q1;->a:Lio/reactivex/functions/n;
return-void
.end method
# virtual methods
.method public final apply(Ljava/lang/Object;)Ljava/lang/Object;
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/internal/operators/single/j;
iget-object v1, p0, Lio/reactivex/internal/operators/observable/q1;->a:Lio/reactivex/functions/n;
.line 2
invoke-interface {v1, p1}, Lio/reactivex/functions/n;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v1, "The mapper returned a null SingleSource"
.line 3
invoke-static {p1, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 4
check-cast p1, Lio/reactivex/w;
invoke-direct {v0, p1}, Lio/reactivex/internal/operators/single/j;-><init>(Lio/reactivex/w;)V
return-object v0
.end method