b$b.smali
.class public abstract Lwp/b$b;
.super Ljava/util/concurrent/atomic/AtomicLong;
.source "FlowableCreate.java"
# interfaces
.implements Lnp/d;
.implements Lmq/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lwp/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicLong;",
"Lnp/d<",
"TT;>;",
"Lmq/c;"
}
.end annotation
# instance fields
.field public final a:Lmq/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lmq/b<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Ltp/c;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lmq/b;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lmq/b<",
"-TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
iput-object p1, p0, Lwp/b$b;->a:Lmq/b;
new-instance p1, Ltp/c;
invoke-direct {p1}, Ltp/c;-><init>()V
iput-object p1, p0, Lwp/b$b;->b:Ltp/c;
return-void
.end method
# virtual methods
.method public a()V
.registers 3
invoke-virtual {p0}, Lwp/b$b;->b()Z
move-result v0
if-eqz v0, :cond_7
return-void
:cond_7
:try_start_7
iget-object v0, p0, Lwp/b$b;->a:Lmq/b;
invoke-interface {v0}, Lmq/b;->onComplete()V
:try_end_c
.catchall {:try_start_7 .. :try_end_c} :catchall_12
iget-object v0, p0, Lwp/b$b;->b:Ltp/c;
invoke-virtual {v0}, Ltp/c;->dispose()V
return-void
:catchall_12
move-exception v0
iget-object v1, p0, Lwp/b$b;->b:Ltp/c;
invoke-virtual {v1}, Ltp/c;->dispose()V
throw v0
.end method
.method public a(Ljava/lang/Throwable;)Z
.registers 3
if-nez p1, :cond_9
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "onError called with null. Null values are generally not allowed in 2.x operators and sources."
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
:cond_9
invoke-virtual {p0}, Lwp/b$b;->b()Z
move-result v0
if-eqz v0, :cond_11
const/4 p1, 0x0
return p1
:cond_11
:try_start_11
iget-object v0, p0, Lwp/b$b;->a:Lmq/b;
invoke-interface {v0, p1}, Lmq/b;->onError(Ljava/lang/Throwable;)V
:try_end_16
.catchall {:try_start_11 .. :try_end_16} :catchall_1d
iget-object p1, p0, Lwp/b$b;->b:Ltp/c;
invoke-virtual {p1}, Ltp/c;->dispose()V
const/4 p1, 0x1
return p1
:catchall_1d
move-exception p1
iget-object v0, p0, Lwp/b$b;->b:Ltp/c;
invoke-virtual {v0}, Ltp/c;->dispose()V
throw p1
.end method
.method public final b(Ljava/lang/Throwable;)V
.registers 3
invoke-virtual {p0, p1}, Lwp/b$b;->c(Ljava/lang/Throwable;)Z
move-result v0
if-nez v0, :cond_9
invoke-static {p1}, Lfq/a;->b(Ljava/lang/Throwable;)V
:cond_9
return-void
.end method
.method public final b()Z
.registers 2
iget-object v0, p0, Lwp/b$b;->b:Ltp/c;
invoke-virtual {v0}, Ltp/c;->a()Z
move-result v0
return v0
.end method
.method public c()V
.registers 1
return-void
.end method
.method public c(Ljava/lang/Throwable;)Z
.registers 2
invoke-virtual {p0, p1}, Lwp/b$b;->a(Ljava/lang/Throwable;)Z
move-result p1
return p1
.end method
.method public final cancel()V
.registers 2
iget-object v0, p0, Lwp/b$b;->b:Ltp/c;
invoke-virtual {v0}, Ltp/c;->dispose()V
invoke-virtual {p0}, Lwp/b$b;->d()V
return-void
.end method
.method public d()V
.registers 1
return-void
.end method
.method public onComplete()V
.registers 1
invoke-virtual {p0}, Lwp/b$b;->a()V
return-void
.end method
.method public final request(J)V
.registers 4
invoke-static {p1, p2}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(J)Z
move-result v0
if-eqz v0, :cond_c
invoke-static {p0, p1, p2}, Ldq/a;->a(Ljava/util/concurrent/atomic/AtomicLong;J)J
invoke-virtual {p0}, Lwp/b$b;->c()V
:cond_c
return-void
.end method