j.smali

.class public final enum Lio/reactivex/internal/util/j;
.super Ljava/lang/Enum;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lio/reactivex/internal/util/j$a;,
        Lio/reactivex/internal/util/j$c;,
        Lio/reactivex/internal/util/j$b;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Enum<",
        "Lio/reactivex/internal/util/j;",
        ">;"
    }
.end annotation


# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/internal/util/j;

.field public static final enum COMPLETE:Lio/reactivex/internal/util/j;


# direct methods
.method public static constructor <clinit>()V
    .registers 3

    .line 1
    new-instance v0, Lio/reactivex/internal/util/j;

    const-string v1, "COMPLETE"

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lio/reactivex/internal/util/j;-><init>(Ljava/lang/String;I)V

    sput-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    const/4 v1, 0x1

    new-array v1, v1, [Lio/reactivex/internal/util/j;

    aput-object v0, v1, v2

    .line 2
    sput-object v1, Lio/reactivex/internal/util/j;->$VALUES:[Lio/reactivex/internal/util/j;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;I)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V

    return-void
.end method

.method public static accept(Ljava/lang/Object;Lio/reactivex/s;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Object;",
            "Lio/reactivex/s<",
            "-TT;>;)Z"
        }
    .end annotation

    .line 6
    sget-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    const/4 v1, 0x1

    if-ne p0, v0, :cond_9

    .line 7
    invoke-interface {p1}, Lio/reactivex/s;->onComplete()V

    return v1

    .line 8
    :cond_9
    instance-of v0, p0, Lio/reactivex/internal/util/j$b;

    if-eqz v0, :cond_15

    .line 9
    check-cast p0, Lio/reactivex/internal/util/j$b;

    iget-object p0, p0, Lio/reactivex/internal/util/j$b;->a:Ljava/lang/Throwable;

    invoke-interface {p1, p0}, Lio/reactivex/s;->onError(Ljava/lang/Throwable;)V

    return v1

    .line 10
    :cond_15
    invoke-interface {p1, p0}, Lio/reactivex/s;->onNext(Ljava/lang/Object;)V

    const/4 p0, 0x0

    return p0
.end method

.method public static accept(Ljava/lang/Object;Lorg/reactivestreams/b;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Object;",
            "Lorg/reactivestreams/b<",
            "-TT;>;)Z"
        }
    .end annotation

    .line 1
    sget-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    const/4 v1, 0x1

    if-ne p0, v0, :cond_9

    .line 2
    invoke-interface {p1}, Lorg/reactivestreams/b;->onComplete()V

    return v1

    .line 3
    :cond_9
    instance-of v0, p0, Lio/reactivex/internal/util/j$b;

    if-eqz v0, :cond_15

    .line 4
    check-cast p0, Lio/reactivex/internal/util/j$b;

    iget-object p0, p0, Lio/reactivex/internal/util/j$b;->a:Ljava/lang/Throwable;

    invoke-interface {p1, p0}, Lorg/reactivestreams/b;->onError(Ljava/lang/Throwable;)V

    return v1

    .line 5
    :cond_15
    invoke-interface {p1, p0}, Lorg/reactivestreams/b;->onNext(Ljava/lang/Object;)V

    const/4 p0, 0x0

    return p0
.end method

.method public static acceptFull(Ljava/lang/Object;Lio/reactivex/s;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Object;",
            "Lio/reactivex/s<",
            "-TT;>;)Z"
        }
    .end annotation

    .line 8
    sget-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    const/4 v1, 0x1

    if-ne p0, v0, :cond_9

    .line 9
    invoke-interface {p1}, Lio/reactivex/s;->onComplete()V

    return v1

    .line 10
    :cond_9
    instance-of v0, p0, Lio/reactivex/internal/util/j$b;

    if-eqz v0, :cond_15

    .line 11
    check-cast p0, Lio/reactivex/internal/util/j$b;

    iget-object p0, p0, Lio/reactivex/internal/util/j$b;->a:Ljava/lang/Throwable;

    invoke-interface {p1, p0}, Lio/reactivex/s;->onError(Ljava/lang/Throwable;)V

    return v1

    .line 12
    :cond_15
    instance-of v0, p0, Lio/reactivex/internal/util/j$a;

    const/4 v1, 0x0

    if-eqz v0, :cond_22

    .line 13
    check-cast p0, Lio/reactivex/internal/util/j$a;

    iget-object p0, p0, Lio/reactivex/internal/util/j$a;->a:Lio/reactivex/disposables/b;

    invoke-interface {p1, p0}, Lio/reactivex/s;->onSubscribe(Lio/reactivex/disposables/b;)V

    return v1

    .line 14
    :cond_22
    invoke-interface {p1, p0}, Lio/reactivex/s;->onNext(Ljava/lang/Object;)V

    return v1
.end method

.method public static acceptFull(Ljava/lang/Object;Lorg/reactivestreams/b;)Z
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Object;",
            "Lorg/reactivestreams/b<",
            "-TT;>;)Z"
        }
    .end annotation

    .line 1
    sget-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    const/4 v1, 0x1

    if-ne p0, v0, :cond_9

    .line 2
    invoke-interface {p1}, Lorg/reactivestreams/b;->onComplete()V

    return v1

    .line 3
    :cond_9
    instance-of v0, p0, Lio/reactivex/internal/util/j$b;

    if-eqz v0, :cond_15

    .line 4
    check-cast p0, Lio/reactivex/internal/util/j$b;

    iget-object p0, p0, Lio/reactivex/internal/util/j$b;->a:Ljava/lang/Throwable;

    invoke-interface {p1, p0}, Lorg/reactivestreams/b;->onError(Ljava/lang/Throwable;)V

    return v1

    .line 5
    :cond_15
    instance-of v0, p0, Lio/reactivex/internal/util/j$c;

    const/4 v1, 0x0

    if-eqz v0, :cond_22

    .line 6
    check-cast p0, Lio/reactivex/internal/util/j$c;

    iget-object p0, p0, Lio/reactivex/internal/util/j$c;->a:Lorg/reactivestreams/c;

    invoke-interface {p1, p0}, Lorg/reactivestreams/b;->onSubscribe(Lorg/reactivestreams/c;)V

    return v1

    .line 7
    :cond_22
    invoke-interface {p1, p0}, Lorg/reactivestreams/b;->onNext(Ljava/lang/Object;)V

    return v1
.end method

.method public static complete()Ljava/lang/Object;
    .registers 1

    sget-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    return-object v0
.end method

.method public static disposable(Lio/reactivex/disposables/b;)Ljava/lang/Object;
    .registers 2

    new-instance v0, Lio/reactivex/internal/util/j$a;

    invoke-direct {v0, p0}, Lio/reactivex/internal/util/j$a;-><init>(Lio/reactivex/disposables/b;)V

    return-object v0
.end method

.method public static error(Ljava/lang/Throwable;)Ljava/lang/Object;
    .registers 2

    new-instance v0, Lio/reactivex/internal/util/j$b;

    invoke-direct {v0, p0}, Lio/reactivex/internal/util/j$b;-><init>(Ljava/lang/Throwable;)V

    return-object v0
.end method

.method public static getDisposable(Ljava/lang/Object;)Lio/reactivex/disposables/b;
    .registers 1

    check-cast p0, Lio/reactivex/internal/util/j$a;

    iget-object p0, p0, Lio/reactivex/internal/util/j$a;->a:Lio/reactivex/disposables/b;

    return-object p0
.end method

.method public static getError(Ljava/lang/Object;)Ljava/lang/Throwable;
    .registers 1

    check-cast p0, Lio/reactivex/internal/util/j$b;

    iget-object p0, p0, Lio/reactivex/internal/util/j$b;->a:Ljava/lang/Throwable;

    return-object p0
.end method

.method public static getSubscription(Ljava/lang/Object;)Lorg/reactivestreams/c;
    .registers 1

    check-cast p0, Lio/reactivex/internal/util/j$c;

    iget-object p0, p0, Lio/reactivex/internal/util/j$c;->a:Lorg/reactivestreams/c;

    return-object p0
.end method

.method public static getValue(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Object;",
            ")TT;"
        }
    .end annotation

    return-object p0
.end method

.method public static isComplete(Ljava/lang/Object;)Z
    .registers 2

    sget-object v0, Lio/reactivex/internal/util/j;->COMPLETE:Lio/reactivex/internal/util/j;

    if-ne p0, v0, :cond_6

    const/4 p0, 0x1

    goto :goto_7

    :cond_6
    const/4 p0, 0x0

    :goto_7
    return p0
.end method

.method public static isDisposable(Ljava/lang/Object;)Z
    .registers 1

    instance-of p0, p0, Lio/reactivex/internal/util/j$a;

    return p0
.end method

.method public static isError(Ljava/lang/Object;)Z
    .registers 1

    instance-of p0, p0, Lio/reactivex/internal/util/j$b;

    return p0
.end method

.method public static isSubscription(Ljava/lang/Object;)Z
    .registers 1

    instance-of p0, p0, Lio/reactivex/internal/util/j$c;

    return p0
.end method

.method public static next(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(TT;)",
            "Ljava/lang/Object;"
        }
    .end annotation

    return-object p0
.end method

.method public static subscription(Lorg/reactivestreams/c;)Ljava/lang/Object;
    .registers 2

    new-instance v0, Lio/reactivex/internal/util/j$c;

    invoke-direct {v0, p0}, Lio/reactivex/internal/util/j$c;-><init>(Lorg/reactivestreams/c;)V

    return-object v0
.end method

.method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/util/j;
    .registers 2

    const-class v0, Lio/reactivex/internal/util/j;

    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;

    move-result-object p0

    check-cast p0, Lio/reactivex/internal/util/j;

    return-object p0
.end method

.method public static values()[Lio/reactivex/internal/util/j;
    .registers 1

    sget-object v0, Lio/reactivex/internal/util/j;->$VALUES:[Lio/reactivex/internal/util/j;

    invoke-virtual {v0}, [Lio/reactivex/internal/util/j;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lio/reactivex/internal/util/j;

    return-object v0
.end method


# virtual methods
.method public toString()Ljava/lang/String;
    .registers 2

    const-string v0, "NotificationLite.Complete"

    return-object v0
.end method