v1.smali

.class public final Lio/reactivex/internal/operators/observable/v1;
.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<",
        "Lio/reactivex/l<",
        "TT;>;",
        "Lio/reactivex/q<",
        "TR;>;>;"
    }
.end annotation


# instance fields
.field public final a:Lio/reactivex/functions/n;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/functions/n<",
            "-",
            "Lio/reactivex/l<",
            "TT;>;+",
            "Lio/reactivex/q<",
            "TR;>;>;"
        }
    .end annotation
.end field

.field public final b:Lio/reactivex/t;


# direct methods
.method public constructor <init>(Lio/reactivex/functions/n;Lio/reactivex/t;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/functions/n<",
            "-",
            "Lio/reactivex/l<",
            "TT;>;+",
            "Lio/reactivex/q<",
            "TR;>;>;",
            "Lio/reactivex/t;",
            ")V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lio/reactivex/internal/operators/observable/v1;->a:Lio/reactivex/functions/n;

    .line 3
    iput-object p2, p0, Lio/reactivex/internal/operators/observable/v1;->b:Lio/reactivex/t;

    return-void
.end method


# virtual methods
.method public final apply(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 1
    check-cast p1, Lio/reactivex/l;

    .line 2
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/v1;->a:Lio/reactivex/functions/n;

    invoke-interface {v0, p1}, Lio/reactivex/functions/n;->apply(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    const-string v0, "The selector returned a null ObservableSource"

    .line 3
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 4
    check-cast p1, Lio/reactivex/q;

    .line 5
    invoke-static {p1}, Lio/reactivex/l;->wrap(Lio/reactivex/q;)Lio/reactivex/l;

    move-result-object p1

    iget-object v0, p0, Lio/reactivex/internal/operators/observable/v1;->b:Lio/reactivex/t;

    invoke-virtual {p1, v0}, Lio/reactivex/l;->observeOn(Lio/reactivex/t;)Lio/reactivex/l;

    move-result-object p1

    return-object p1
.end method