f.smali
.class public abstract Lio/reactivex/f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/reactivestreams/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lorg/reactivestreams/a<",
"TT;>;"
}
.end annotation
# static fields
.field public static final a:I
# direct methods
.method static constructor <clinit>()V
.registers 2
const-string v0, "rx2.buffer-size"
const/16 v1, 0x80
invoke-static {v0, v1}, Ljava/lang/Integer;->getInteger(Ljava/lang/String;I)Ljava/lang/Integer;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
const/4 v1, 0x1
invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I
move-result v0
sput v0, Lio/reactivex/f;->a:I
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static e()Lio/reactivex/f;
.registers 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Ljava/util/concurrent/TimeUnit;",
")",
"Lio/reactivex/f<",
"Ljava/lang/Long;",
">;"
}
.end annotation
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
.line 1
sget-object v6, Lio/reactivex/schedulers/a;->b:Lio/reactivex/t;
const-string v1, "unit is null"
.line 2
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "scheduler is null"
.line 3
invoke-static {v6, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 4
new-instance v0, Lio/reactivex/internal/operators/flowable/h;
const-wide/16 v1, 0x0
const-wide/16 v3, 0x1
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->max(JJ)J
move-result-wide v7
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->max(JJ)J
move-result-wide v4
move-object v1, v0
move-wide v2, v7
invoke-direct/range {v1 .. v6}, Lio/reactivex/internal/operators/flowable/h;-><init>(JJLio/reactivex/t;)V
return-object v0
.end method
.method public static f(Ljava/lang/Object;)Lio/reactivex/f;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)",
"Lio/reactivex/f<",
"TT;>;"
}
.end annotation
const-string v0, "item is null"
.line 1
invoke-static {p0, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/internal/operators/flowable/i;
invoke-direct {v0, p0}, Lio/reactivex/internal/operators/flowable/i;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
# virtual methods
.method public final a(Lorg/reactivestreams/b;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/b<",
"-TT;>;)V"
}
.end annotation
.line 1
instance-of v0, p1, Lio/reactivex/g;
if-eqz v0, :cond_a
.line 2
check-cast p1, Lio/reactivex/g;
invoke-virtual {p0, p1}, Lio/reactivex/f;->j(Lio/reactivex/g;)V
goto :goto_17
:cond_a
const-string v0, "s is null"
.line 3
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 4
new-instance v0, Lio/reactivex/internal/subscribers/d;
invoke-direct {v0, p1}, Lio/reactivex/internal/subscribers/d;-><init>(Lorg/reactivestreams/b;)V
invoke-virtual {p0, v0}, Lio/reactivex/f;->j(Lio/reactivex/g;)V
:goto_17
return-void
.end method
.method public final c(Lio/reactivex/functions/f;Lio/reactivex/functions/f;)Lio/reactivex/f;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/f<",
"-TT;>;",
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/functions/a;",
"Lio/reactivex/functions/a;",
")",
"Lio/reactivex/f<",
"TT;>;"
}
.end annotation
const-string v0, "onError is null"
.line 1
invoke-static {p2, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/internal/operators/flowable/b;
invoke-direct {v0, p0, p1, p2}, Lio/reactivex/internal/operators/flowable/b;-><init>(Lio/reactivex/f;Lio/reactivex/functions/f;Lio/reactivex/functions/f;)V
return-object v0
.end method
.method public final d(Lio/reactivex/functions/f;)Lio/reactivex/f;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;)",
"Lio/reactivex/f<",
"TT;>;"
}
.end annotation
sget-object v0, Lio/reactivex/internal/functions/a;->d:Lio/reactivex/internal/functions/a$o;
invoke-virtual {p0, v0, p1}, Lio/reactivex/f;->c(Lio/reactivex/functions/f;Lio/reactivex/functions/f;)Lio/reactivex/f;
move-result-object p1
return-object p1
.end method
.method public final g(Lio/reactivex/functions/n;)Lio/reactivex/f;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Lio/reactivex/functions/n<",
"-TT;+TR;>;)",
"Lio/reactivex/f<",
"TR;>;"
}
.end annotation
new-instance v0, Lio/reactivex/internal/operators/flowable/j;
invoke-direct {v0, p0, p1}, Lio/reactivex/internal/operators/flowable/j;-><init>(Lio/reactivex/f;Lio/reactivex/functions/n;)V
return-object v0
.end method
.method public final h(Lio/reactivex/t;)Lio/reactivex/f;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/t;",
")",
"Lio/reactivex/f<",
"TT;>;"
}
.end annotation
.line 1
sget v0, Lio/reactivex/f;->a:I
const-string v1, "bufferSize"
.line 2
invoke-static {v0, v1}, Lio/reactivex/internal/functions/b;->b(ILjava/lang/String;)I
.line 3
new-instance v1, Lio/reactivex/internal/operators/flowable/k;
invoke-direct {v1, p0, p1, v0}, Lio/reactivex/internal/operators/flowable/k;-><init>(Lio/reactivex/f;Lio/reactivex/t;I)V
return-object v1
.end method
.method public final i(Lio/reactivex/functions/f;Lio/reactivex/functions/f;)Lio/reactivex/disposables/b;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/f<",
"-TT;>;",
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;)",
"Lio/reactivex/disposables/b;"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/operators/flowable/g;->INSTANCE:Lio/reactivex/internal/operators/flowable/g;
const-string v1, "onSubscribe is null"
.line 2
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 3
new-instance v1, Lio/reactivex/internal/subscribers/c;
invoke-direct {v1, p1, p2, v0}, Lio/reactivex/internal/subscribers/c;-><init>(Lio/reactivex/functions/f;Lio/reactivex/functions/f;Lio/reactivex/functions/f;)V
.line 4
invoke-virtual {p0, v1}, Lio/reactivex/f;->j(Lio/reactivex/g;)V
return-object v1
.end method
.method public final j(Lio/reactivex/g;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/g<",
"-TT;>;)V"
}
.end annotation
const-string v0, "s is null"
.line 1
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
:try_start_5
invoke-virtual {p0, p1}, Lio/reactivex/f;->k(Lorg/reactivestreams/b;)V
:try_end_8
.catch Ljava/lang/NullPointerException; {:try_start_5 .. :try_end_8} :catch_1b
.catchall {:try_start_5 .. :try_end_8} :catchall_9
return-void
:catchall_9
move-exception p1
.line 3
invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
.line 5
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "Actually not, but can\'t throw other exceptions due to RS"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
.line 6
invoke-virtual {v0, p1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
.line 7
throw v0
:catch_1b
move-exception p1
.line 8
throw p1
.end method
.method public abstract k(Lorg/reactivestreams/b;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/b<",
"-TT;>;)V"
}
.end annotation
.end method
.method public final l(Lio/reactivex/t;)Lio/reactivex/f;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/t;",
")",
"Lio/reactivex/f<",
"TT;>;"
}
.end annotation
const-string v0, "scheduler is null"
.line 1
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/internal/operators/flowable/t;
invoke-direct {v0, p0, p1}, Lio/reactivex/internal/operators/flowable/t;-><init>(Lio/reactivex/f;Lio/reactivex/t;)V
return-object v0
.end method