This commit is contained in:
2022-06-10 21:38:30 +09:00
commit 27f5152838
51323 changed files with 12934539 additions and 0 deletions
@@ -0,0 +1,121 @@
.class public final enum Lio/reactivex/BackpressureOverflowStrategy;
.super Ljava/lang/Enum;
.source "BackpressureOverflowStrategy.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/BackpressureOverflowStrategy;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/BackpressureOverflowStrategy;
.field public static final enum DROP_LATEST:Lio/reactivex/BackpressureOverflowStrategy;
.field public static final enum DROP_OLDEST:Lio/reactivex/BackpressureOverflowStrategy;
.field public static final enum ERROR:Lio/reactivex/BackpressureOverflowStrategy;
# direct methods
.method public static constructor <clinit>()V
.locals 7
.line 1
new-instance v0, Lio/reactivex/BackpressureOverflowStrategy;
const-string v1, "ERROR"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/BackpressureOverflowStrategy;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/BackpressureOverflowStrategy;->ERROR:Lio/reactivex/BackpressureOverflowStrategy;
.line 2
new-instance v1, Lio/reactivex/BackpressureOverflowStrategy;
const-string v3, "DROP_OLDEST"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Lio/reactivex/BackpressureOverflowStrategy;-><init>(Ljava/lang/String;I)V
sput-object v1, Lio/reactivex/BackpressureOverflowStrategy;->DROP_OLDEST:Lio/reactivex/BackpressureOverflowStrategy;
.line 3
new-instance v3, Lio/reactivex/BackpressureOverflowStrategy;
const-string v5, "DROP_LATEST"
const/4 v6, 0x2
invoke-direct {v3, v5, v6}, Lio/reactivex/BackpressureOverflowStrategy;-><init>(Ljava/lang/String;I)V
sput-object v3, Lio/reactivex/BackpressureOverflowStrategy;->DROP_LATEST:Lio/reactivex/BackpressureOverflowStrategy;
const/4 v5, 0x3
new-array v5, v5, [Lio/reactivex/BackpressureOverflowStrategy;
aput-object v0, v5, v2
aput-object v1, v5, v4
aput-object v3, v5, v6
.line 4
sput-object v5, Lio/reactivex/BackpressureOverflowStrategy;->$VALUES:[Lio/reactivex/BackpressureOverflowStrategy;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/BackpressureOverflowStrategy;
.locals 1
.line 1
const-class v0, Lio/reactivex/BackpressureOverflowStrategy;
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/BackpressureOverflowStrategy;
return-object p0
.end method
.method public static values()[Lio/reactivex/BackpressureOverflowStrategy;
.locals 1
.line 1
sget-object v0, Lio/reactivex/BackpressureOverflowStrategy;->$VALUES:[Lio/reactivex/BackpressureOverflowStrategy;
invoke-virtual {v0}, [Lio/reactivex/BackpressureOverflowStrategy;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/BackpressureOverflowStrategy;
return-object v0
.end method
@@ -0,0 +1,151 @@
.class public final enum Lio/reactivex/BackpressureStrategy;
.super Ljava/lang/Enum;
.source "BackpressureStrategy.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/BackpressureStrategy;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/BackpressureStrategy;
.field public static final enum BUFFER:Lio/reactivex/BackpressureStrategy;
.field public static final enum DROP:Lio/reactivex/BackpressureStrategy;
.field public static final enum ERROR:Lio/reactivex/BackpressureStrategy;
.field public static final enum LATEST:Lio/reactivex/BackpressureStrategy;
.field public static final enum MISSING:Lio/reactivex/BackpressureStrategy;
# direct methods
.method public static constructor <clinit>()V
.locals 11
.line 1
new-instance v0, Lio/reactivex/BackpressureStrategy;
const-string v1, "MISSING"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/BackpressureStrategy;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/BackpressureStrategy;->MISSING:Lio/reactivex/BackpressureStrategy;
.line 2
new-instance v1, Lio/reactivex/BackpressureStrategy;
const-string v3, "ERROR"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Lio/reactivex/BackpressureStrategy;-><init>(Ljava/lang/String;I)V
sput-object v1, Lio/reactivex/BackpressureStrategy;->ERROR:Lio/reactivex/BackpressureStrategy;
.line 3
new-instance v3, Lio/reactivex/BackpressureStrategy;
const-string v5, "BUFFER"
const/4 v6, 0x2
invoke-direct {v3, v5, v6}, Lio/reactivex/BackpressureStrategy;-><init>(Ljava/lang/String;I)V
sput-object v3, Lio/reactivex/BackpressureStrategy;->BUFFER:Lio/reactivex/BackpressureStrategy;
.line 4
new-instance v5, Lio/reactivex/BackpressureStrategy;
const-string v7, "DROP"
const/4 v8, 0x3
invoke-direct {v5, v7, v8}, Lio/reactivex/BackpressureStrategy;-><init>(Ljava/lang/String;I)V
sput-object v5, Lio/reactivex/BackpressureStrategy;->DROP:Lio/reactivex/BackpressureStrategy;
.line 5
new-instance v7, Lio/reactivex/BackpressureStrategy;
const-string v9, "LATEST"
const/4 v10, 0x4
invoke-direct {v7, v9, v10}, Lio/reactivex/BackpressureStrategy;-><init>(Ljava/lang/String;I)V
sput-object v7, Lio/reactivex/BackpressureStrategy;->LATEST:Lio/reactivex/BackpressureStrategy;
const/4 v9, 0x5
new-array v9, v9, [Lio/reactivex/BackpressureStrategy;
aput-object v0, v9, v2
aput-object v1, v9, v4
aput-object v3, v9, v6
aput-object v5, v9, v8
aput-object v7, v9, v10
.line 6
sput-object v9, Lio/reactivex/BackpressureStrategy;->$VALUES:[Lio/reactivex/BackpressureStrategy;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/BackpressureStrategy;
.locals 1
.line 1
const-class v0, Lio/reactivex/BackpressureStrategy;
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/BackpressureStrategy;
return-object p0
.end method
.method public static values()[Lio/reactivex/BackpressureStrategy;
.locals 1
.line 1
sget-object v0, Lio/reactivex/BackpressureStrategy;->$VALUES:[Lio/reactivex/BackpressureStrategy;
invoke-virtual {v0}, [Lio/reactivex/BackpressureStrategy;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/BackpressureStrategy;
return-object v0
.end method
@@ -0,0 +1,166 @@
.class public final enum Lio/reactivex/annotations/BackpressureKind;
.super Ljava/lang/Enum;
.source "BackpressureKind.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/annotations/BackpressureKind;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/annotations/BackpressureKind;
.field public static final enum ERROR:Lio/reactivex/annotations/BackpressureKind;
.field public static final enum FULL:Lio/reactivex/annotations/BackpressureKind;
.field public static final enum NONE:Lio/reactivex/annotations/BackpressureKind;
.field public static final enum PASS_THROUGH:Lio/reactivex/annotations/BackpressureKind;
.field public static final enum SPECIAL:Lio/reactivex/annotations/BackpressureKind;
.field public static final enum UNBOUNDED_IN:Lio/reactivex/annotations/BackpressureKind;
# direct methods
.method public static constructor <clinit>()V
.locals 13
.line 1
new-instance v0, Lio/reactivex/annotations/BackpressureKind;
const-string v1, "PASS_THROUGH"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/annotations/BackpressureKind;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/annotations/BackpressureKind;->PASS_THROUGH:Lio/reactivex/annotations/BackpressureKind;
.line 2
new-instance v1, Lio/reactivex/annotations/BackpressureKind;
const-string v3, "FULL"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Lio/reactivex/annotations/BackpressureKind;-><init>(Ljava/lang/String;I)V
sput-object v1, Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind;
.line 3
new-instance v3, Lio/reactivex/annotations/BackpressureKind;
const-string v5, "SPECIAL"
const/4 v6, 0x2
invoke-direct {v3, v5, v6}, Lio/reactivex/annotations/BackpressureKind;-><init>(Ljava/lang/String;I)V
sput-object v3, Lio/reactivex/annotations/BackpressureKind;->SPECIAL:Lio/reactivex/annotations/BackpressureKind;
.line 4
new-instance v5, Lio/reactivex/annotations/BackpressureKind;
const-string v7, "UNBOUNDED_IN"
const/4 v8, 0x3
invoke-direct {v5, v7, v8}, Lio/reactivex/annotations/BackpressureKind;-><init>(Ljava/lang/String;I)V
sput-object v5, Lio/reactivex/annotations/BackpressureKind;->UNBOUNDED_IN:Lio/reactivex/annotations/BackpressureKind;
.line 5
new-instance v7, Lio/reactivex/annotations/BackpressureKind;
const-string v9, "ERROR"
const/4 v10, 0x4
invoke-direct {v7, v9, v10}, Lio/reactivex/annotations/BackpressureKind;-><init>(Ljava/lang/String;I)V
sput-object v7, Lio/reactivex/annotations/BackpressureKind;->ERROR:Lio/reactivex/annotations/BackpressureKind;
.line 6
new-instance v9, Lio/reactivex/annotations/BackpressureKind;
const-string v11, "NONE"
const/4 v12, 0x5
invoke-direct {v9, v11, v12}, Lio/reactivex/annotations/BackpressureKind;-><init>(Ljava/lang/String;I)V
sput-object v9, Lio/reactivex/annotations/BackpressureKind;->NONE:Lio/reactivex/annotations/BackpressureKind;
const/4 v11, 0x6
new-array v11, v11, [Lio/reactivex/annotations/BackpressureKind;
aput-object v0, v11, v2
aput-object v1, v11, v4
aput-object v3, v11, v6
aput-object v5, v11, v8
aput-object v7, v11, v10
aput-object v9, v11, v12
.line 7
sput-object v11, Lio/reactivex/annotations/BackpressureKind;->$VALUES:[Lio/reactivex/annotations/BackpressureKind;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/annotations/BackpressureKind;
.locals 1
.line 1
const-class v0, Lio/reactivex/annotations/BackpressureKind;
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/annotations/BackpressureKind;
return-object p0
.end method
.method public static values()[Lio/reactivex/annotations/BackpressureKind;
.locals 1
.line 1
sget-object v0, Lio/reactivex/annotations/BackpressureKind;->$VALUES:[Lio/reactivex/annotations/BackpressureKind;
invoke-virtual {v0}, [Lio/reactivex/annotations/BackpressureKind;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/annotations/BackpressureKind;
return-object v0
.end method
@@ -0,0 +1,27 @@
.class public interface abstract annotation Lio/reactivex/annotations/BackpressureSupport;
.super Ljava/lang/Object;
.source "BackpressureSupport.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation runtime Ljava/lang/annotation/Documented;
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->TYPE:Ljava/lang/annotation/ElementType;
}
.end annotation
# virtual methods
.method public abstract value()Lio/reactivex/annotations/BackpressureKind;
.end method
@@ -0,0 +1,6 @@
.class public interface abstract annotation Lio/reactivex/annotations/Beta;
.super Ljava/lang/Object;
.source "Beta.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
@@ -0,0 +1,21 @@
.class public interface abstract annotation Lio/reactivex/annotations/CheckReturnValue;
.super Ljava/lang/Object;
.source "CheckReturnValue.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation runtime Ljava/lang/annotation/Documented;
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;
}
.end annotation
@@ -0,0 +1,6 @@
.class public interface abstract annotation Lio/reactivex/annotations/Experimental;
.super Ljava/lang/Object;
.source "Experimental.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
@@ -0,0 +1,24 @@
.class public interface abstract annotation Lio/reactivex/annotations/NonNull;
.super Ljava/lang/Object;
.source "NonNull.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation runtime Ljava/lang/annotation/Documented;
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->CLASS:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->FIELD:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->PARAMETER:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->LOCAL_VARIABLE:Ljava/lang/annotation/ElementType;
}
.end annotation
@@ -0,0 +1,24 @@
.class public interface abstract annotation Lio/reactivex/annotations/Nullable;
.super Ljava/lang/Object;
.source "Nullable.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation runtime Ljava/lang/annotation/Documented;
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->CLASS:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->FIELD:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->PARAMETER:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->LOCAL_VARIABLE:Ljava/lang/annotation/ElementType;
}
.end annotation
@@ -0,0 +1,44 @@
.class public interface abstract annotation Lio/reactivex/annotations/SchedulerSupport;
.super Ljava/lang/Object;
.source "SchedulerSupport.java"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation runtime Ljava/lang/annotation/Documented;
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->CONSTRUCTOR:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->TYPE:Ljava/lang/annotation/ElementType;
}
.end annotation
# static fields
.field public static final k0:Ljava/lang/String; = "none"
.field public static final l0:Ljava/lang/String; = "custom"
.field public static final m0:Ljava/lang/String; = "io.reactivex:computation"
.field public static final n0:Ljava/lang/String; = "io.reactivex:io"
.field public static final o0:Ljava/lang/String; = "io.reactivex:new-thread"
.field public static final p0:Ljava/lang/String; = "io.reactivex:trampoline"
.field public static final q0:Ljava/lang/String; = "io.reactivex:single"
# virtual methods
.method public abstract value()Ljava/lang/String;
.end method
@@ -0,0 +1,71 @@
.class final Lio/reactivex/disposables/ActionDisposable;
.super Lio/reactivex/disposables/ReferenceDisposable;
.source "ActionDisposable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/disposables/ReferenceDisposable<",
"Lph/a;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x721258278bee89a1L
# direct methods
.method public constructor <init>(Lph/a;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Lio/reactivex/disposables/ReferenceDisposable;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public bridge synthetic onDisposed(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 1
check-cast p1, Lph/a;
invoke-virtual {p0, p1}, Lio/reactivex/disposables/ActionDisposable;->onDisposed(Lph/a;)V
return-void
.end method
.method public onDisposed(Lph/a;)V
.locals 0
.param p1 # Lph/a;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 2
:try_start_0
invoke-interface {p1}, Lph/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.end method
@@ -0,0 +1,105 @@
.class final Lio/reactivex/disposables/FutureDisposable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "FutureDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Ljava/util/concurrent/Future<",
"*>;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x5ad55fad22d3c507L
# instance fields
.field private final allowInterrupt:Z
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Future;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Future<",
"*>;Z)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
.line 2
iput-boolean p2, p0, Lio/reactivex/disposables/FutureDisposable;->allowInterrupt:Z
return-void
.end method
# virtual methods
.method public dispose()V
.locals 2
const/4 v0, 0x0
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/concurrent/Future;
if-eqz v0, :cond_0
.line 2
iget-boolean v1, p0, Lio/reactivex/disposables/FutureDisposable;->allowInterrupt:Z
invoke-interface {v0, v1}, Ljava/util/concurrent/Future;->cancel(Z)Z
:cond_0
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/concurrent/Future;
if-eqz v0, :cond_1
.line 2
invoke-interface {v0}, Ljava/util/concurrent/Future;->isDone()Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method
@@ -0,0 +1,106 @@
.class abstract Lio/reactivex/disposables/ReferenceDisposable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ReferenceDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x5abac7da20d0ae41L
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
const-string v0, "value is null"
.line 1
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
invoke-direct {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public final dispose()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
const/4 v0, 0x0
.line 2
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
.line 3
invoke-virtual {p0, v0}, Lio/reactivex/disposables/ReferenceDisposable;->onDisposed(Ljava/lang/Object;)V
:cond_0
return-void
.end method
.method public final isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public abstract onDisposed(Ljava/lang/Object;)V
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.end method
@@ -0,0 +1,95 @@
.class final Lio/reactivex/disposables/RunnableDisposable;
.super Lio/reactivex/disposables/ReferenceDisposable;
.source "RunnableDisposable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/disposables/ReferenceDisposable<",
"Ljava/lang/Runnable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x721258278bee89a1L
# direct methods
.method public constructor <init>(Ljava/lang/Runnable;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Lio/reactivex/disposables/ReferenceDisposable;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public bridge synthetic onDisposed(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 1
check-cast p1, Ljava/lang/Runnable;
invoke-virtual {p0, p1}, Lio/reactivex/disposables/RunnableDisposable;->onDisposed(Ljava/lang/Runnable;)V
return-void
.end method
.method public onDisposed(Ljava/lang/Runnable;)V
.locals 0
.param p1 # Ljava/lang/Runnable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 2
invoke-interface {p1}, Ljava/lang/Runnable;->run()V
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "RunnableDisposable(disposed="
.line 1
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p0}, Lio/reactivex/disposables/ReferenceDisposable;->isDisposed()Z
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
@@ -0,0 +1,58 @@
.class final Lio/reactivex/disposables/SubscriptionDisposable;
.super Lio/reactivex/disposables/ReferenceDisposable;
.source "SubscriptionDisposable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/disposables/ReferenceDisposable<",
"Lok/e;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x9cfc6416eb4a343L
# direct methods
.method public constructor <init>(Lok/e;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Lio/reactivex/disposables/ReferenceDisposable;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public bridge synthetic onDisposed(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 1
check-cast p1, Lok/e;
invoke-virtual {p0, p1}, Lio/reactivex/disposables/SubscriptionDisposable;->onDisposed(Lok/e;)V
return-void
.end method
.method public onDisposed(Lok/e;)V
.locals 0
.param p1 # Lok/e;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 2
invoke-interface {p1}, Lok/e;->cancel()V
return-void
.end method
@@ -0,0 +1,734 @@
.class public final Lio/reactivex/disposables/a;
.super Ljava/lang/Object;
.source "CompositeDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
.implements Lqh/a;
# instance fields
.field public a:Lio/reactivex/internal/util/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/internal/util/k<",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
.field public volatile b:Z
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(Ljava/lang/Iterable;)V
.locals 2
.param p1 # Ljava/lang/Iterable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+",
"Lio/reactivex/disposables/b;",
">;)V"
}
.end annotation
.line 8
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "resources is null"
.line 9
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 10
new-instance v0, Lio/reactivex/internal/util/k;
invoke-direct {v0}, Lio/reactivex/internal/util/k;-><init>()V
iput-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
.line 11
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
const-string v1, "Disposable item is null"
.line 12
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 13
iget-object v1, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
invoke-virtual {v1, v0}, Lio/reactivex/internal/util/k;->a(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
return-void
.end method
.method public varargs constructor <init>([Lio/reactivex/disposables/b;)V
.locals 4
.param p1 # [Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "resources is null"
.line 3
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 4
new-instance v0, Lio/reactivex/internal/util/k;
array-length v1, p1
add-int/lit8 v1, v1, 0x1
invoke-direct {v0, v1}, Lio/reactivex/internal/util/k;-><init>(I)V
iput-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
.line 5
array-length v0, p1
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_0
aget-object v2, p1, v1
const-string v3, "Disposable item is null"
.line 6
invoke-static {v2, v3}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 7
iget-object v3, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
invoke-virtual {v3, v2}, Lio/reactivex/internal/util/k;->a(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
return-void
.end method
# virtual methods
.method public a(Lio/reactivex/disposables/b;)Z
.locals 1
.param p1 # Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/disposables/a;->c(Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public b(Lio/reactivex/disposables/b;)Z
.locals 1
.param p1 # Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
const-string v0, "d is null"
.line 1
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-nez v0, :cond_2
.line 3
monitor-enter p0
.line 4
:try_start_0
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-nez v0, :cond_1
.line 5
iget-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
if-nez v0, :cond_0
.line 6
new-instance v0, Lio/reactivex/internal/util/k;
invoke-direct {v0}, Lio/reactivex/internal/util/k;-><init>()V
.line 7
iput-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
.line 8
:cond_0
invoke-virtual {v0, p1}, Lio/reactivex/internal/util/k;->a(Ljava/lang/Object;)Z
const/4 p1, 0x1
.line 9
monitor-exit p0
return p1
.line 10
:cond_1
monitor-exit p0
goto :goto_0
:catchall_0
move-exception p1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.line 11
:cond_2
:goto_0
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
const/4 p1, 0x0
return p1
.end method
.method public c(Lio/reactivex/disposables/b;)Z
.locals 2
.param p1 # Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
const-string v0, "Disposable item is null"
.line 1
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
.line 3
:cond_0
monitor-enter p0
.line 4
:try_start_0
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-eqz v0, :cond_1
.line 5
monitor-exit p0
return v1
.line 6
:cond_1
iget-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
if-eqz v0, :cond_3
.line 7
invoke-virtual {v0, p1}, Lio/reactivex/internal/util/k;->e(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_2
goto :goto_0
.line 8
:cond_2
monitor-exit p0
const/4 p1, 0x1
return p1
.line 9
:cond_3
:goto_0
monitor-exit p0
return v1
:catchall_0
move-exception p1
.line 10
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method
.method public varargs d([Lio/reactivex/disposables/b;)Z
.locals 6
.param p1 # [Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
const-string v0, "ds is null"
.line 1
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
const/4 v1, 0x0
if-nez v0, :cond_3
.line 3
monitor-enter p0
.line 4
:try_start_0
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-nez v0, :cond_2
.line 5
iget-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
const/4 v2, 0x1
if-nez v0, :cond_0
.line 6
new-instance v0, Lio/reactivex/internal/util/k;
array-length v3, p1
add-int/2addr v3, v2
invoke-direct {v0, v3}, Lio/reactivex/internal/util/k;-><init>(I)V
.line 7
iput-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
.line 8
:cond_0
array-length v3, p1
:goto_0
if-ge v1, v3, :cond_1
aget-object v4, p1, v1
const-string v5, "d is null"
.line 9
invoke-static {v4, v5}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 10
invoke-virtual {v0, v4}, Lio/reactivex/internal/util/k;->a(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 11
:cond_1
monitor-exit p0
return v2
.line 12
:cond_2
monitor-exit p0
goto :goto_1
:catchall_0
move-exception p1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.line 13
:cond_3
:goto_1
array-length v0, p1
move v2, v1
:goto_2
if-ge v2, v0, :cond_4
aget-object v3, p1, v2
.line 14
invoke-interface {v3}, Lio/reactivex/disposables/b;->dispose()V
add-int/lit8 v2, v2, 0x1
goto :goto_2
:cond_4
return v1
.end method
.method public dispose()V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
monitor-enter p0
.line 3
:try_start_0
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-eqz v0, :cond_1
.line 4
monitor-exit p0
return-void
:cond_1
const/4 v0, 0x1
.line 5
iput-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
.line 6
iget-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
const/4 v1, 0x0
.line 7
iput-object v1, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
.line 8
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 9
invoke-virtual {p0, v0}, Lio/reactivex/disposables/a;->f(Lio/reactivex/internal/util/k;)V
return-void
:catchall_0
move-exception v0
.line 10
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method
.method public e()V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
monitor-enter p0
.line 3
:try_start_0
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-eqz v0, :cond_1
.line 4
monitor-exit p0
return-void
.line 5
:cond_1
iget-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
const/4 v1, 0x0
.line 6
iput-object v1, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
.line 7
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 8
invoke-virtual {p0, v0}, Lio/reactivex/disposables/a;->f(Lio/reactivex/internal/util/k;)V
return-void
:catchall_0
move-exception v0
.line 9
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method
.method public f(Lio/reactivex/internal/util/k;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/internal/util/k<",
"Lio/reactivex/disposables/b;",
">;)V"
}
.end annotation
if-nez p1, :cond_0
return-void
:cond_0
const/4 v0, 0x0
.line 1
invoke-virtual {p1}, Lio/reactivex/internal/util/k;->b()[Ljava/lang/Object;
move-result-object p1
.line 2
array-length v1, p1
const/4 v2, 0x0
move v3, v2
:goto_0
if-ge v3, v1, :cond_3
aget-object v4, p1, v3
.line 3
instance-of v5, v4, Lio/reactivex/disposables/b;
if-eqz v5, :cond_2
.line 4
:try_start_0
check-cast v4, Lio/reactivex/disposables/b;
invoke-interface {v4}, Lio/reactivex/disposables/b;->dispose()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:catchall_0
move-exception v4
.line 5
invoke-static {v4}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
if-nez v0, :cond_1
.line 6
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 7
:cond_1
invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_2
:goto_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_3
if-eqz v0, :cond_5
.line 8
invoke-interface {v0}, Ljava/util/List;->size()I
move-result p1
const/4 v1, 0x1
if-ne p1, v1, :cond_4
.line 9
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Throwable;
invoke-static {p1}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p1
throw p1
.line 10
:cond_4
new-instance p1, Lio/reactivex/exceptions/CompositeException;
invoke-direct {p1, v0}, Lio/reactivex/exceptions/CompositeException;-><init>(Ljava/lang/Iterable;)V
throw p1
:cond_5
return-void
.end method
.method public g()I
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
.line 2
:cond_0
monitor-enter p0
.line 3
:try_start_0
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
if-eqz v0, :cond_1
.line 4
monitor-exit p0
return v1
.line 5
:cond_1
iget-object v0, p0, Lio/reactivex/disposables/a;->a:Lio/reactivex/internal/util/k;
if-eqz v0, :cond_2
.line 6
invoke-virtual {v0}, Lio/reactivex/internal/util/k;->g()I
move-result v1
:cond_2
monitor-exit p0
return v1
:catchall_0
move-exception v0
.line 7
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/disposables/a;->b:Z
return v0
.end method
@@ -0,0 +1,11 @@
.class public interface abstract Lio/reactivex/disposables/b;
.super Ljava/lang/Object;
.source "Disposable.java"
# virtual methods
.method public abstract dispose()V
.end method
.method public abstract isDisposed()Z
.end method
@@ -0,0 +1,177 @@
.class public final Lio/reactivex/disposables/c;
.super Ljava/lang/Object;
.source "Disposables.java"
# direct methods
.method public constructor <init>()V
.locals 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "No instances!"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static a()Lio/reactivex/disposables/b;
.locals 1
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
return-object v0
.end method
.method public static b()Lio/reactivex/disposables/b;
.locals 1
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/functions/Functions;->b:Ljava/lang/Runnable;
invoke-static {v0}, Lio/reactivex/disposables/c;->f(Ljava/lang/Runnable;)Lio/reactivex/disposables/b;
move-result-object v0
return-object v0
.end method
.method public static c(Lph/a;)Lio/reactivex/disposables/b;
.locals 1
.param p0 # Lph/a;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
const-string v0, "run is null"
.line 1
invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/disposables/ActionDisposable;
invoke-direct {v0, p0}, Lio/reactivex/disposables/ActionDisposable;-><init>(Lph/a;)V
return-object v0
.end method
.method public static d(Ljava/util/concurrent/Future;)Lio/reactivex/disposables/b;
.locals 1
.param p0 # Ljava/util/concurrent/Future;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Future<",
"*>;)",
"Lio/reactivex/disposables/b;"
}
.end annotation
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
const-string v0, "future is null"
.line 1
invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const/4 v0, 0x1
.line 2
invoke-static {p0, v0}, Lio/reactivex/disposables/c;->e(Ljava/util/concurrent/Future;Z)Lio/reactivex/disposables/b;
move-result-object p0
return-object p0
.end method
.method public static e(Ljava/util/concurrent/Future;Z)Lio/reactivex/disposables/b;
.locals 1
.param p0 # Ljava/util/concurrent/Future;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Future<",
"*>;Z)",
"Lio/reactivex/disposables/b;"
}
.end annotation
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
const-string v0, "future is null"
.line 1
invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/disposables/FutureDisposable;
invoke-direct {v0, p0, p1}, Lio/reactivex/disposables/FutureDisposable;-><init>(Ljava/util/concurrent/Future;Z)V
return-object v0
.end method
.method public static f(Ljava/lang/Runnable;)Lio/reactivex/disposables/b;
.locals 1
.param p0 # Ljava/lang/Runnable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
const-string v0, "run is null"
.line 1
invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/disposables/RunnableDisposable;
invoke-direct {v0, p0}, Lio/reactivex/disposables/RunnableDisposable;-><init>(Ljava/lang/Runnable;)V
return-object v0
.end method
.method public static g(Lok/e;)Lio/reactivex/disposables/b;
.locals 1
.param p0 # Lok/e;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
const-string v0, "subscription is null"
.line 1
invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 2
new-instance v0, Lio/reactivex/disposables/SubscriptionDisposable;
invoke-direct {v0, p0}, Lio/reactivex/disposables/SubscriptionDisposable;-><init>(Lok/e;)V
return-object v0
.end method
@@ -0,0 +1,150 @@
.class public final Lio/reactivex/disposables/d;
.super Ljava/lang/Object;
.source "SerialDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
.method public constructor <init>(Lio/reactivex/disposables/b;)V
.locals 1
.param p1 # Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
.end param
.line 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 4
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
iput-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public a()Lio/reactivex/disposables/b;
.locals 2
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
.line 3
invoke-static {}, Lio/reactivex/disposables/c;->a()Lio/reactivex/disposables/b;
move-result-object v0
:cond_0
return-object v0
.end method
.method public b(Lio/reactivex/disposables/b;)Z
.locals 1
.param p1 # Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
.end param
.line 1
iget-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result p1
return p1
.end method
.method public c(Lio/reactivex/disposables/b;)Z
.locals 1
.param p1 # Lio/reactivex/disposables/b;
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
.end param
.line 1
iget-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->set(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result p1
return p1
.end method
.method public dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/disposables/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
@@ -0,0 +1,41 @@
.class final Lio/reactivex/exceptions/CompositeException$CompositeExceptionCausalChain;
.super Ljava/lang/RuntimeException;
.source "CompositeException.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/exceptions/CompositeException;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CompositeExceptionCausalChain"
.end annotation
# static fields
.field public static final MESSAGE:Ljava/lang/String; = "Chain of Causes for CompositeException In Order Received =>"
.field private static final serialVersionUID:J = 0x35c7853e403cebd2L
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
return-void
.end method
# virtual methods
.method public getMessage()Ljava/lang/String;
.locals 1
const-string v0, "Chain of Causes for CompositeException In Order Received =>"
return-object v0
.end method
@@ -0,0 +1,30 @@
.class public abstract Lio/reactivex/exceptions/CompositeException$a;
.super Ljava/lang/Object;
.source "CompositeException.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/exceptions/CompositeException;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "a"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract a(Ljava/lang/Object;)V
.end method
@@ -0,0 +1,45 @@
.class public final Lio/reactivex/exceptions/CompositeException$b;
.super Lio/reactivex/exceptions/CompositeException$a;
.source "CompositeException.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/exceptions/CompositeException;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# instance fields
.field public final a:Ljava/io/PrintStream;
# direct methods
.method public constructor <init>(Ljava/io/PrintStream;)V
.locals 0
.line 1
invoke-direct {p0}, Lio/reactivex/exceptions/CompositeException$a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/exceptions/CompositeException$b;->a:Ljava/io/PrintStream;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException$b;->a:Ljava/io/PrintStream;
invoke-virtual {v0, p1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,45 @@
.class public final Lio/reactivex/exceptions/CompositeException$c;
.super Lio/reactivex/exceptions/CompositeException$a;
.source "CompositeException.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/exceptions/CompositeException;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
# instance fields
.field public final a:Ljava/io/PrintWriter;
# direct methods
.method public constructor <init>(Ljava/io/PrintWriter;)V
.locals 0
.line 1
invoke-direct {p0}, Lio/reactivex/exceptions/CompositeException$a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/exceptions/CompositeException$c;->a:Ljava/io/PrintWriter;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException$c;->a:Ljava/io/PrintWriter;
invoke-virtual {v0, p1}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,705 @@
.class public final Lio/reactivex/exceptions/CompositeException;
.super Ljava/lang/RuntimeException;
.source "CompositeException.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/exceptions/CompositeException$CompositeExceptionCausalChain;,
Lio/reactivex/exceptions/CompositeException$c;,
Lio/reactivex/exceptions/CompositeException$b;,
Lio/reactivex/exceptions/CompositeException$a;
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x29ffcc6947b49592L
# instance fields
.field private cause:Ljava/lang/Throwable;
.field private final exceptions:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field private final message:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/Iterable;)V
.locals 4
.param p1 # Ljava/lang/Iterable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+",
"Ljava/lang/Throwable;",
">;)V"
}
.end annotation
.line 4
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
.line 5
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
.line 6
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
if-eqz p1, :cond_2
.line 7
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_3
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Throwable;
.line 8
instance-of v3, v2, Lio/reactivex/exceptions/CompositeException;
if-eqz v3, :cond_0
.line 9
check-cast v2, Lio/reactivex/exceptions/CompositeException;
invoke-virtual {v2}, Lio/reactivex/exceptions/CompositeException;->getExceptions()Ljava/util/List;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
goto :goto_0
:cond_0
if-eqz v2, :cond_1
.line 10
invoke-interface {v0, v2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 11
:cond_1
new-instance v2, Ljava/lang/NullPointerException;
const-string v3, "Throwable was null!"
invoke-direct {v2, v3}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-interface {v0, v2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 12
:cond_2
new-instance p1, Ljava/lang/NullPointerException;
const-string v2, "errors was null"
invoke-direct {p1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
.line 13
:cond_3
invoke-interface {v0}, Ljava/util/Set;->isEmpty()Z
move-result p1
if-nez p1, :cond_4
.line 14
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
.line 15
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
iput-object p1, p0, Lio/reactivex/exceptions/CompositeException;->exceptions:Ljava/util/List;
.line 16
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " exceptions occurred. "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lio/reactivex/exceptions/CompositeException;->message:Ljava/lang/String;
return-void
.line 17
:cond_4
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "errors is empty"
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public varargs constructor <init>([Ljava/lang/Throwable;)V
.locals 1
.param p1 # [Ljava/lang/Throwable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
if-nez p1, :cond_0
.line 1
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "exceptions was null"
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
.line 2
invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
goto :goto_0
:cond_0
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object p1
.line 3
:goto_0
invoke-direct {p0, p1}, Lio/reactivex/exceptions/CompositeException;-><init>(Ljava/lang/Iterable;)V
return-void
.end method
.method private appendStackTrace(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
.locals 5
.line 1
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 p3, 0xa
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
.line 2
invoke-virtual {p2}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
aget-object v3, v0, v2
const-string v4, "\t\tat "
.line 3
invoke-virtual {p1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 4
:cond_0
invoke-virtual {p2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object p3
if-eqz p3, :cond_1
const-string p3, "\tCaused by: "
.line 5
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 6
invoke-virtual {p2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object p2
const-string p3, ""
invoke-direct {p0, p1, p2, p3}, Lio/reactivex/exceptions/CompositeException;->appendStackTrace(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
:cond_1
return-void
.end method
.method private getListOfCauses(Ljava/lang/Throwable;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
")",
"Ljava/util/List<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.line 1
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 2
invoke-virtual {p1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v1
if-eqz v1, :cond_2
if-ne v1, p1, :cond_0
goto :goto_1
.line 3
:cond_0
:goto_0
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 4
invoke-virtual {v1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object p1
if-eqz p1, :cond_2
if-ne p1, v1, :cond_1
goto :goto_1
:cond_1
move-object v1, p1
goto :goto_0
:cond_2
:goto_1
return-object v0
.end method
.method private printStackTrace(Lio/reactivex/exceptions/CompositeException$a;)V
.locals 7
.line 4
new-instance v0, Ljava/lang/StringBuilder;
const/16 v1, 0x80
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
.line 5
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0xa
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
.line 6
invoke-virtual {p0}, Ljava/lang/RuntimeException;->getStackTrace()[Ljava/lang/StackTraceElement;
move-result-object v2
array-length v3, v2
const/4 v4, 0x0
:goto_0
if-ge v4, v3, :cond_0
aget-object v5, v2, v4
const-string v6, "\tat "
.line 7
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
add-int/lit8 v4, v4, 0x1
goto :goto_0
.line 8
:cond_0
iget-object v1, p0, Lio/reactivex/exceptions/CompositeException;->exceptions:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
const/4 v2, 0x1
move v3, v2
:goto_1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v4
if-eqz v4, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Throwable;
const-string v5, " ComposedException "
.line 9
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v5, " :\n"
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v5, "\t"
.line 10
invoke-direct {p0, v0, v4, v5}, Lio/reactivex/exceptions/CompositeException;->appendStackTrace(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
add-int/2addr v3, v2
goto :goto_1
.line 11
:cond_1
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Lio/reactivex/exceptions/CompositeException$a;->a(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public declared-synchronized getCause()Ljava/lang/Throwable;
.locals 8
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
monitor-enter p0
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
if-nez v0, :cond_4
.line 2
new-instance v0, Lio/reactivex/exceptions/CompositeException$CompositeExceptionCausalChain;
invoke-direct {v0}, Lio/reactivex/exceptions/CompositeException$CompositeExceptionCausalChain;-><init>()V
.line 3
new-instance v1, Ljava/util/HashSet;
invoke-direct {v1}, Ljava/util/HashSet;-><init>()V
.line 4
iget-object v2, p0, Lio/reactivex/exceptions/CompositeException;->exceptions:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v2
move-object v3, v0
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v4
if-eqz v4, :cond_3
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Throwable;
.line 5
invoke-virtual {v1, v4}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
move-result v5
if-eqz v5, :cond_0
goto :goto_0
.line 6
:cond_0
invoke-virtual {v1, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
.line 7
invoke-direct {p0, v4}, Lio/reactivex/exceptions/CompositeException;->getListOfCauses(Ljava/lang/Throwable;)Ljava/util/List;
move-result-object v5
.line 8
invoke-interface {v5}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v5
:goto_1
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
move-result v6
if-eqz v6, :cond_2
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/Throwable;
.line 9
invoke-virtual {v1, v6}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_1
.line 10
new-instance v4, Ljava/lang/RuntimeException;
const-string v6, "Duplicate found in causal chain so cropping to prevent loop ..."
invoke-direct {v4, v6}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
goto :goto_1
.line 11
:cond_1
invoke-virtual {v1, v6}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
goto :goto_1
.line 12
:cond_2
:try_start_1
invoke-virtual {v3, v4}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 13
:catchall_0
:try_start_2
invoke-virtual {p0, v3}, Lio/reactivex/exceptions/CompositeException;->getRootCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v3
goto :goto_0
.line 14
:cond_3
iput-object v0, p0, Lio/reactivex/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
.line 15
:cond_4
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
monitor-exit p0
return-object v0
:catchall_1
move-exception v0
monitor-exit p0
throw v0
.end method
.method public getExceptions()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException;->exceptions:Ljava/util/List;
return-object v0
.end method
.method public getMessage()Ljava/lang/String;
.locals 1
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException;->message:Ljava/lang/String;
return-object v0
.end method
.method public getRootCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
.locals 1
.line 1
invoke-virtual {p1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
if-eqz v0, :cond_3
if-ne p1, v0, :cond_0
goto :goto_2
.line 2
:cond_0
:goto_0
invoke-virtual {v0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object p1
if-eqz p1, :cond_2
if-ne p1, v0, :cond_1
goto :goto_1
:cond_1
move-object v0, p1
goto :goto_0
:cond_2
:goto_1
return-object v0
:cond_3
:goto_2
return-object p1
.end method
.method public printStackTrace()V
.locals 1
.line 1
sget-object v0, Ljava/lang/System;->err:Ljava/io/PrintStream;
invoke-virtual {p0, v0}, Lio/reactivex/exceptions/CompositeException;->printStackTrace(Ljava/io/PrintStream;)V
return-void
.end method
.method public printStackTrace(Ljava/io/PrintStream;)V
.locals 1
.line 2
new-instance v0, Lio/reactivex/exceptions/CompositeException$b;
invoke-direct {v0, p1}, Lio/reactivex/exceptions/CompositeException$b;-><init>(Ljava/io/PrintStream;)V
invoke-direct {p0, v0}, Lio/reactivex/exceptions/CompositeException;->printStackTrace(Lio/reactivex/exceptions/CompositeException$a;)V
return-void
.end method
.method public printStackTrace(Ljava/io/PrintWriter;)V
.locals 1
.line 3
new-instance v0, Lio/reactivex/exceptions/CompositeException$c;
invoke-direct {v0, p1}, Lio/reactivex/exceptions/CompositeException$c;-><init>(Ljava/io/PrintWriter;)V
invoke-direct {p0, v0}, Lio/reactivex/exceptions/CompositeException;->printStackTrace(Lio/reactivex/exceptions/CompositeException$a;)V
return-void
.end method
.method public size()I
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/exceptions/CompositeException;->exceptions:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
return v0
.end method
@@ -0,0 +1,27 @@
.class public final Lio/reactivex/exceptions/MissingBackpressureException;
.super Ljava/lang/RuntimeException;
.source "MissingBackpressureException.java"
# static fields
.field private static final serialVersionUID:J = 0x7633afeb6fd3471eL
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
.line 2
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method
@@ -0,0 +1,59 @@
.class public final Lio/reactivex/exceptions/OnErrorNotImplementedException;
.super Ljava/lang/RuntimeException;
.source "OnErrorNotImplementedException.java"
# static fields
.field private static final serialVersionUID:J = -0x576a0913e5716a6cL
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
.param p2 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
if-eqz p2, :cond_0
goto :goto_0
.line 1
:cond_0
new-instance p2, Ljava/lang/NullPointerException;
invoke-direct {p2}, Ljava/lang/NullPointerException;-><init>()V
:goto_0
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;)V
.locals 2
.param p1 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0, p1}, Lio/reactivex/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,18 @@
.class public final Lio/reactivex/exceptions/ProtocolViolationException;
.super Ljava/lang/IllegalStateException;
.source "ProtocolViolationException.java"
# static fields
.field private static final serialVersionUID:J = 0x16d353715d40a41aL
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
return-void
.end method
@@ -0,0 +1,32 @@
.class public final Lio/reactivex/exceptions/UndeliverableException;
.super Ljava/lang/IllegalStateException;
.source "UndeliverableException.java"
# static fields
.field private static final serialVersionUID:J = 0x16d353715d40a41aL
# direct methods
.method public constructor <init>(Ljava/lang/Throwable;)V
.locals 2
.line 1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What\'s-different-in-2.0#error-handling | "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,81 @@
.class public final Lio/reactivex/exceptions/a;
.super Ljava/lang/Object;
.source "Exceptions.java"
# direct methods
.method public constructor <init>()V
.locals 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "No instances!"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
.locals 0
.param p0 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.line 1
invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->f(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
move-result-object p0
throw p0
.end method
.method public static b(Ljava/lang/Throwable;)V
.locals 1
.param p0 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/annotations/NonNull;
.end annotation
.end param
.line 1
instance-of v0, p0, Ljava/lang/VirtualMachineError;
if-nez v0, :cond_2
.line 2
instance-of v0, p0, Ljava/lang/ThreadDeath;
if-nez v0, :cond_1
.line 3
instance-of v0, p0, Ljava/lang/LinkageError;
if-nez v0, :cond_0
return-void
.line 4
:cond_0
check-cast p0, Ljava/lang/LinkageError;
throw p0
.line 5
:cond_1
check-cast p0, Ljava/lang/ThreadDeath;
throw p0
.line 6
:cond_2
check-cast p0, Ljava/lang/VirtualMachineError;
throw p0
.end method
@@ -0,0 +1,187 @@
.class public final Lio/reactivex/internal/disposables/ArrayCompositeDisposable;
.super Ljava/util/concurrent/atomic/AtomicReferenceArray;
.source "ArrayCompositeDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceArray<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x261d229f8c0b4b20L
# direct methods
.method public constructor <init>(I)V
.locals 0
.line 1
invoke-direct {p0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceArray;-><init>(I)V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 4
const/4 v0, 0x0
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->get(I)Ljava/lang/Object;
move-result-object v1
sget-object v2, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v1, v2, :cond_1
.line 2
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->length()I
move-result v1
:goto_0
if-ge v0, v1, :cond_1
.line 3
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lio/reactivex/disposables/b;
.line 4
sget-object v3, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v2, v3, :cond_0
.line 5
invoke-virtual {p0, v0, v3}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->getAndSet(ILjava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lio/reactivex/disposables/b;
if-eq v2, v3, :cond_0
if-eqz v2, :cond_0
.line 6
invoke-interface {v2}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public isDisposed()Z
.locals 3
const/4 v0, 0x0
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->get(I)Ljava/lang/Object;
move-result-object v1
sget-object v2, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v1, v2, :cond_0
const/4 v0, 0x1
:cond_0
return v0
.end method
.method public replaceResource(ILio/reactivex/disposables/b;)Lio/reactivex/disposables/b;
.locals 2
.line 1
:cond_0
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
.line 3
invoke-interface {p2}, Lio/reactivex/disposables/b;->dispose()V
const/4 p1, 0x0
return-object p1
.line 4
:cond_1
invoke-virtual {p0, p1, v0, p2}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->compareAndSet(ILjava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
return-object v0
.end method
.method public setResource(ILio/reactivex/disposables/b;)Z
.locals 2
.line 1
:cond_0
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
.line 3
invoke-interface {p2}, Lio/reactivex/disposables/b;->dispose()V
const/4 p1, 0x0
return p1
.line 4
:cond_1
invoke-virtual {p0, p1, v0, p2}, Ljava/util/concurrent/atomic/AtomicReferenceArray;->compareAndSet(ILjava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
if-eqz v0, :cond_2
.line 5
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_2
const/4 p1, 0x1
return p1
.end method
@@ -0,0 +1,98 @@
.class public final Lio/reactivex/internal/disposables/CancellableDisposable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CancellableDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lph/f;",
">;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x4f5c453163a88dc2L
# direct methods
.method public constructor <init>(Lph/f;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
const/4 v0, 0x0
.line 2
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lph/f;
if-eqz v0, :cond_0
.line 3
:try_start_0
invoke-interface {v0}, Lph/f;->cancel()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
@@ -0,0 +1,430 @@
.class public final enum Lio/reactivex/internal/disposables/DisposableHelper;
.super Ljava/lang/Enum;
.source "DisposableHelper.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/internal/disposables/DisposableHelper;",
">;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/internal/disposables/DisposableHelper;
.field public static final enum DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/internal/disposables/DisposableHelper;
const-string v1, "DISPOSED"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/internal/disposables/DisposableHelper;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/internal/disposables/DisposableHelper;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->$VALUES:[Lio/reactivex/internal/disposables/DisposableHelper;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;)Z"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v0, v1, :cond_1
.line 3
invoke-virtual {p0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lio/reactivex/disposables/b;
if-eq p0, v1, :cond_1
if-eqz p0, :cond_0
.line 4
invoke-interface {p0}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
const/4 p0, 0x1
return p0
:cond_1
const/4 p0, 0x0
return p0
.end method
.method public static isDisposed(Lio/reactivex/disposables/b;)Z
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne p0, v0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/disposables/b;",
")Z"
}
.end annotation
.line 1
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_2
if-eqz p1, :cond_1
.line 3
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
:cond_1
const/4 p0, 0x0
return p0
.line 4
:cond_2
invoke-virtual {p0, v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, 0x1
return p0
.end method
.method public static reportDisposableSet()V
.locals 2
.line 1
new-instance v0, Lio/reactivex/exceptions/ProtocolViolationException;
const-string v1, "Disposable already set!"
invoke-direct {v0, v1}, Lio/reactivex/exceptions/ProtocolViolationException;-><init>(Ljava/lang/String;)V
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public static set(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/disposables/b;",
")Z"
}
.end annotation
.line 1
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_2
if-eqz p1, :cond_1
.line 3
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
:cond_1
const/4 p0, 0x0
return p0
.line 4
:cond_2
invoke-virtual {p0, v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
if-eqz v0, :cond_3
.line 5
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_3
const/4 p0, 0x1
return p0
.end method
.method public static setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/disposables/b;",
")Z"
}
.end annotation
const-string v0, "d is null"
.line 1
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const/4 v0, 0x0
.line 2
invoke-virtual {p0, v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
.line 3
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 4
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p0
sget-object p1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq p0, p1, :cond_0
.line 5
invoke-static {}, Lio/reactivex/internal/disposables/DisposableHelper;->reportDisposableSet()V
:cond_0
const/4 p0, 0x0
return p0
:cond_1
const/4 p0, 0x1
return p0
.end method
.method public static trySet(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/disposables/b;",
")Z"
}
.end annotation
const/4 v0, 0x0
.line 1
invoke-virtual {p0, v0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
.line 2
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p0
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne p0, v0, :cond_0
.line 3
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
const/4 p0, 0x0
return p0
:cond_1
const/4 p0, 0x1
return p0
.end method
.method public static validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
.locals 1
const/4 v0, 0x0
if-nez p1, :cond_0
.line 1
new-instance p0, Ljava/lang/NullPointerException;
const-string p1, "next is null"
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-static {p0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return v0
:cond_0
if-eqz p0, :cond_1
.line 2
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 3
invoke-static {}, Lio/reactivex/internal/disposables/DisposableHelper;->reportDisposableSet()V
return v0
:cond_1
const/4 p0, 0x1
return p0
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/disposables/DisposableHelper;
.locals 1
.line 1
const-class v0, Lio/reactivex/internal/disposables/DisposableHelper;
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/disposables/DisposableHelper;
return-object p0
.end method
.method public static values()[Lio/reactivex/internal/disposables/DisposableHelper;
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->$VALUES:[Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {v0}, [Lio/reactivex/internal/disposables/DisposableHelper;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/disposables/DisposableHelper;
return-object v0
.end method
# virtual methods
.method public dispose()V
.locals 0
return-void
.end method
.method public isDisposed()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
@@ -0,0 +1,339 @@
.class public final enum Lio/reactivex/internal/disposables/EmptyDisposable;
.super Ljava/lang/Enum;
.source "EmptyDisposable.java"
# interfaces
.implements Lrh/j;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/internal/disposables/EmptyDisposable;",
">;",
"Lrh/j<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/internal/disposables/EmptyDisposable;
.field public static final enum INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
.field public static final enum NEVER:Lio/reactivex/internal/disposables/EmptyDisposable;
# direct methods
.method public static constructor <clinit>()V
.locals 5
.line 1
new-instance v0, Lio/reactivex/internal/disposables/EmptyDisposable;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/internal/disposables/EmptyDisposable;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
.line 2
new-instance v1, Lio/reactivex/internal/disposables/EmptyDisposable;
const-string v3, "NEVER"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Lio/reactivex/internal/disposables/EmptyDisposable;-><init>(Ljava/lang/String;I)V
sput-object v1, Lio/reactivex/internal/disposables/EmptyDisposable;->NEVER:Lio/reactivex/internal/disposables/EmptyDisposable;
const/4 v3, 0x2
new-array v3, v3, [Lio/reactivex/internal/disposables/EmptyDisposable;
aput-object v0, v3, v2
aput-object v1, v3, v4
.line 3
sput-object v3, Lio/reactivex/internal/disposables/EmptyDisposable;->$VALUES:[Lio/reactivex/internal/disposables/EmptyDisposable;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static complete(Lkh/d;)V
.locals 1
.line 5
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p0, v0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 6
invoke-interface {p0}, Lkh/d;->onComplete()V
return-void
.end method
.method public static complete(Lkh/g0;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"*>;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p0, v0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 2
invoke-interface {p0}, Lkh/g0;->onComplete()V
return-void
.end method
.method public static complete(Lkh/t;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/t<",
"*>;)V"
}
.end annotation
.line 3
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p0, v0}, Lkh/t;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 4
invoke-interface {p0}, Lkh/t;->onComplete()V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lkh/d;)V
.locals 1
.line 3
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 4
invoke-interface {p1, p0}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lkh/g0;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lkh/g0<",
"*>;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 2
invoke-interface {p1, p0}, Lkh/g0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lkh/l0;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lkh/l0<",
"*>;)V"
}
.end annotation
.line 5
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lkh/l0;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 6
invoke-interface {p1, p0}, Lkh/l0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lkh/t;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lkh/t<",
"*>;)V"
}
.end annotation
.line 7
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lkh/t;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 8
invoke-interface {p1, p0}, Lkh/t;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/disposables/EmptyDisposable;
.locals 1
.line 1
const-class v0, Lio/reactivex/internal/disposables/EmptyDisposable;
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/disposables/EmptyDisposable;
return-object p0
.end method
.method public static values()[Lio/reactivex/internal/disposables/EmptyDisposable;
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->$VALUES:[Lio/reactivex/internal/disposables/EmptyDisposable;
invoke-virtual {v0}, [Lio/reactivex/internal/disposables/EmptyDisposable;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/disposables/EmptyDisposable;
return-object v0
.end method
# virtual methods
.method public clear()V
.locals 0
return-void
.end method
.method public dispose()V
.locals 0
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
if-ne p0, v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isEmpty()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public offer(Ljava/lang/Object;)Z
.locals 1
.line 1
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Should not be called!"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public offer(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.line 2
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "Should not be called!"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public poll()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public requestFusion(I)I
.locals 0
and-int/lit8 p1, p1, 0x2
return p1
.end method
@@ -0,0 +1,94 @@
.class public final Lio/reactivex/internal/disposables/SequentialDisposable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "SequentialDisposable.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0xa79f075a845a6e8L
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
return-void
.end method
.method public constructor <init>(Lio/reactivex/disposables/b;)V
.locals 0
.line 2
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 3
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public replace(Lio/reactivex/disposables/b;)Z
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result p1
return p1
.end method
.method public update(Lio/reactivex/disposables/b;)Z
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->set(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,150 @@
.class final enum Lio/reactivex/internal/functions/Functions$HashSetCallable;
.super Ljava/lang/Enum;
.source "Functions.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "HashSetCallable"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/internal/functions/Functions$HashSetCallable;",
">;",
"Ljava/util/concurrent/Callable<",
"Ljava/util/Set<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/internal/functions/Functions$HashSetCallable;
.field public static final enum INSTANCE:Lio/reactivex/internal/functions/Functions$HashSetCallable;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/internal/functions/Functions$HashSetCallable;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/internal/functions/Functions$HashSetCallable;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/internal/functions/Functions$HashSetCallable;->INSTANCE:Lio/reactivex/internal/functions/Functions$HashSetCallable;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/internal/functions/Functions$HashSetCallable;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/internal/functions/Functions$HashSetCallable;->$VALUES:[Lio/reactivex/internal/functions/Functions$HashSetCallable;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/functions/Functions$HashSetCallable;
.locals 1
.line 1
const-class v0, Lio/reactivex/internal/functions/Functions$HashSetCallable;
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/functions/Functions$HashSetCallable;
return-object p0
.end method
.method public static values()[Lio/reactivex/internal/functions/Functions$HashSetCallable;
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/functions/Functions$HashSetCallable;->$VALUES:[Lio/reactivex/internal/functions/Functions$HashSetCallable;
invoke-virtual {v0}, [Lio/reactivex/internal/functions/Functions$HashSetCallable;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/functions/Functions$HashSetCallable;
return-object v0
.end method
# virtual methods
.method public bridge synthetic call()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/functions/Functions$HashSetCallable;->call()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public call()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 2
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
return-object v0
.end method
@@ -0,0 +1,121 @@
.class final enum Lio/reactivex/internal/functions/Functions$NaturalComparator;
.super Ljava/lang/Enum;
.source "Functions.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "NaturalComparator"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/internal/functions/Functions$NaturalComparator;",
">;",
"Ljava/util/Comparator<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/internal/functions/Functions$NaturalComparator;
.field public static final enum INSTANCE:Lio/reactivex/internal/functions/Functions$NaturalComparator;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/internal/functions/Functions$NaturalComparator;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/internal/functions/Functions$NaturalComparator;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/internal/functions/Functions$NaturalComparator;->INSTANCE:Lio/reactivex/internal/functions/Functions$NaturalComparator;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/internal/functions/Functions$NaturalComparator;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/internal/functions/Functions$NaturalComparator;->$VALUES:[Lio/reactivex/internal/functions/Functions$NaturalComparator;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/internal/functions/Functions$NaturalComparator;
.locals 1
.line 1
const-class v0, Lio/reactivex/internal/functions/Functions$NaturalComparator;
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/functions/Functions$NaturalComparator;
return-object p0
.end method
.method public static values()[Lio/reactivex/internal/functions/Functions$NaturalComparator;
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/functions/Functions$NaturalComparator;->$VALUES:[Lio/reactivex/internal/functions/Functions$NaturalComparator;
invoke-virtual {v0}, [Lio/reactivex/internal/functions/Functions$NaturalComparator;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/functions/Functions$NaturalComparator;
return-object v0
.end method
# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 1
check-cast p1, Ljava/lang/Comparable;
invoke-interface {p1, p2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result p1
return p1
.end method
@@ -0,0 +1,70 @@
.class public final Lio/reactivex/internal/functions/Functions$a;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/g<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lph/a;
# direct methods
.method public constructor <init>(Lph/a;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$a;->a:Lph/a;
return-void
.end method
# virtual methods
.method public accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object p1, p0, Lio/reactivex/internal/functions/Functions$a;->a:Lph/a;
invoke-interface {p1}, Lph/a;->run()V
return-void
.end method
@@ -0,0 +1,52 @@
.class public final Lio/reactivex/internal/functions/Functions$a0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 1
check-cast p1, Ljava/lang/Comparable;
invoke-interface {p1, p2}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result p1
return p1
.end method
@@ -0,0 +1,149 @@
.class public final Lio/reactivex/internal/functions/Functions$b;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/c<",
"-TT1;-TT2;+TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/c;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/c<",
"-TT1;-TT2;+TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$b;->a:Lph/c;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/4 v1, 0x2
if-ne v0, v1, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$b;->a:Lph/c;
const/4 v1, 0x0
aget-object v1, p1, v1
const/4 v2, 0x1
aget-object p1, p1, v2
invoke-interface {v0, v1, p1}, Lph/c;->apply(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 2 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$b;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,85 @@
.class public final Lio/reactivex/internal/functions/Functions$b0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/a;"
}
.end annotation
# instance fields
.field public final a:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Lkh/y<",
"TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/g;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/g<",
"-",
"Lkh/y<",
"TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$b0;->a:Lph/g;
return-void
.end method
# virtual methods
.method public run()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$b0;->a:Lph/g;
invoke-static {}, Lkh/y;->a()Lkh/y;
move-result-object v1
invoke-interface {v0, v1}, Lph/g;->accept(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,155 @@
.class public final Lio/reactivex/internal/functions/Functions$c;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/h<",
"TT1;TT2;TT3;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/h;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/h<",
"TT1;TT2;TT3;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$c;->a:Lph/h;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/4 v1, 0x3
if-ne v0, v1, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$c;->a:Lph/h;
const/4 v1, 0x0
aget-object v1, p1, v1
const/4 v2, 0x1
aget-object v2, p1, v2
const/4 v3, 0x2
aget-object p1, p1, v3
invoke-interface {v0, v1, v2, p1}, Lph/h;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 3 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$c;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,103 @@
.class public final Lio/reactivex/internal/functions/Functions$c0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/g<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# instance fields
.field public final a:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Lkh/y<",
"TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/g;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/g<",
"-",
"Lkh/y<",
"TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$c0;->a:Lph/g;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$c0;->a:Lph/g;
invoke-static {p1}, Lkh/y;->b(Ljava/lang/Throwable;)Lkh/y;
move-result-object p1
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$c0;->a(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,161 @@
.class public final Lio/reactivex/internal/functions/Functions$d;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "d"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/i;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/i<",
"TT1;TT2;TT3;TT4;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/i;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/i<",
"TT1;TT2;TT3;TT4;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$d;->a:Lph/i;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/4 v1, 0x4
if-ne v0, v1, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$d;->a:Lph/i;
const/4 v1, 0x0
aget-object v1, p1, v1
const/4 v2, 0x1
aget-object v2, p1, v2
const/4 v3, 0x2
aget-object v3, p1, v3
const/4 v4, 0x3
aget-object p1, p1, v4
invoke-interface {v0, v1, v2, v3, p1}, Lph/i;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 4 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$d;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,92 @@
.class public final Lio/reactivex/internal/functions/Functions$d0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "d0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/g<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Lkh/y<",
"TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/g;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/g<",
"-",
"Lkh/y<",
"TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$d0;->a:Lph/g;
return-void
.end method
# virtual methods
.method public accept(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$d0;->a:Lph/g;
invoke-static {p1}, Lkh/y;->c(Ljava/lang/Object;)Lkh/y;
move-result-object p1
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,167 @@
.class public final Lio/reactivex/internal/functions/Functions$e;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "e"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/j;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/j<",
"TT1;TT2;TT3;TT4;TT5;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/j;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/j<",
"TT1;TT2;TT3;TT4;TT5;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$e;->a:Lph/j;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/4 v1, 0x5
if-ne v0, v1, :cond_0
.line 2
iget-object v2, p0, Lio/reactivex/internal/functions/Functions$e;->a:Lph/j;
const/4 v0, 0x0
aget-object v3, p1, v0
const/4 v0, 0x1
aget-object v4, p1, v0
const/4 v0, 0x2
aget-object v5, p1, v0
const/4 v0, 0x3
aget-object v6, p1, v0
const/4 v0, 0x4
aget-object v7, p1, v0
invoke-interface/range {v2 .. v7}, Lph/j;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 5 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$e;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,47 @@
.class public final Lio/reactivex/internal/functions/Functions$e0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "e0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()Ljava/lang/Object;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
@@ -0,0 +1,173 @@
.class public final Lio/reactivex/internal/functions/Functions$f;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "f"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"T6:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/k<",
"TT1;TT2;TT3;TT4;TT5;TT6;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/k;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/k<",
"TT1;TT2;TT3;TT4;TT5;TT6;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$f;->a:Lph/k;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/4 v1, 0x6
if-ne v0, v1, :cond_0
.line 2
iget-object v2, p0, Lio/reactivex/internal/functions/Functions$f;->a:Lph/k;
const/4 v0, 0x0
aget-object v3, p1, v0
const/4 v0, 0x1
aget-object v4, p1, v0
const/4 v0, 0x2
aget-object v5, p1, v0
const/4 v0, 0x3
aget-object v6, p1, v0
const/4 v0, 0x4
aget-object v7, p1, v0
const/4 v0, 0x5
aget-object v8, p1, v0
invoke-interface/range {v2 .. v8}, Lph/k;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 6 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$f;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,68 @@
.class public final Lio/reactivex/internal/functions/Functions$f0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "f0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/g<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Throwable;)V
.locals 1
.line 1
new-instance v0, Lio/reactivex/exceptions/OnErrorNotImplementedException;
invoke-direct {v0, p1}, Lio/reactivex/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$f0;->a(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,179 @@
.class public final Lio/reactivex/internal/functions/Functions$g;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "g"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"T6:",
"Ljava/lang/Object;",
"T7:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/l;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/l<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/l;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/l<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$g;->a:Lph/l;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 10
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/4 v1, 0x7
if-ne v0, v1, :cond_0
.line 2
iget-object v2, p0, Lio/reactivex/internal/functions/Functions$g;->a:Lph/l;
const/4 v0, 0x0
aget-object v3, p1, v0
const/4 v0, 0x1
aget-object v4, p1, v0
const/4 v0, 0x2
aget-object v5, p1, v0
const/4 v0, 0x3
aget-object v6, p1, v0
const/4 v0, 0x4
aget-object v7, p1, v0
const/4 v0, 0x5
aget-object v8, p1, v0
const/4 v0, 0x6
aget-object v9, p1, v0
invoke-interface/range {v2 .. v9}, Lph/l;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 7 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$g;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,105 @@
.class public final Lio/reactivex/internal/functions/Functions$g0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "g0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"TT;",
"Lli/d<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/TimeUnit;
.field public final b:Lkh/h0;
# direct methods
.method public constructor <init>(Ljava/util/concurrent/TimeUnit;Lkh/h0;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$g0;->a:Ljava/util/concurrent/TimeUnit;
.line 3
iput-object p2, p0, Lio/reactivex/internal/functions/Functions$g0;->b:Lkh/h0;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)Lli/d;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)",
"Lli/d<",
"TT;>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
new-instance v0, Lli/d;
iget-object v1, p0, Lio/reactivex/internal/functions/Functions$g0;->b:Lkh/h0;
iget-object v2, p0, Lio/reactivex/internal/functions/Functions$g0;->a:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v1, v2}, Lkh/h0;->d(Ljava/util/concurrent/TimeUnit;)J
move-result-wide v1
iget-object v3, p0, Lio/reactivex/internal/functions/Functions$g0;->a:Ljava/util/concurrent/TimeUnit;
invoke-direct {v0, p1, v1, v2, v3}, Lli/d;-><init>(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V
return-object v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$g0;->a(Ljava/lang/Object;)Lli/d;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,185 @@
.class public final Lio/reactivex/internal/functions/Functions$h;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "h"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"T6:",
"Ljava/lang/Object;",
"T7:",
"Ljava/lang/Object;",
"T8:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/m<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/m;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/m<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$h;->a:Lph/m;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 11
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/16 v1, 0x8
if-ne v0, v1, :cond_0
.line 2
iget-object v2, p0, Lio/reactivex/internal/functions/Functions$h;->a:Lph/m;
const/4 v0, 0x0
aget-object v3, p1, v0
const/4 v0, 0x1
aget-object v4, p1, v0
const/4 v0, 0x2
aget-object v5, p1, v0
const/4 v0, 0x3
aget-object v6, p1, v0
const/4 v0, 0x4
aget-object v7, p1, v0
const/4 v0, 0x5
aget-object v8, p1, v0
const/4 v0, 0x6
aget-object v9, p1, v0
const/4 v0, 0x7
aget-object v10, p1, v0
invoke-interface/range {v2 .. v10}, Lph/m;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 8 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$h;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,110 @@
.class public final Lio/reactivex/internal/functions/Functions$h0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "h0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/b<",
"Ljava/util/Map<",
"TK;TT;>;TT;>;"
}
.end annotation
# instance fields
.field public final a:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-TT;+TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/o;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/o<",
"-TT;+TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$h0;->a:Lph/o;
return-void
.end method
# virtual methods
.method public a(Ljava/util/Map;Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"TK;TT;>;TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$h0;->a:Lph/o;
invoke-interface {v0, p2}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 2
invoke-interface {p1, v0, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1, p2}, Lio/reactivex/internal/functions/Functions$h0;->a(Ljava/util/Map;Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,191 @@
.class public final Lio/reactivex/internal/functions/Functions$i;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "i"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"T5:",
"Ljava/lang/Object;",
"T6:",
"Ljava/lang/Object;",
"T7:",
"Ljava/lang/Object;",
"T8:",
"Ljava/lang/Object;",
"T9:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lph/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/n<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TT9;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/n;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/n<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TT9;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$i;->a:Lph/n;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 12
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
array-length v0, p1
const/16 v1, 0x9
if-ne v0, v1, :cond_0
.line 2
iget-object v2, p0, Lio/reactivex/internal/functions/Functions$i;->a:Lph/n;
const/4 v0, 0x0
aget-object v3, p1, v0
const/4 v0, 0x1
aget-object v4, p1, v0
const/4 v0, 0x2
aget-object v5, p1, v0
const/4 v0, 0x3
aget-object v6, p1, v0
const/4 v0, 0x4
aget-object v7, p1, v0
const/4 v0, 0x5
aget-object v8, p1, v0
const/4 v0, 0x6
aget-object v9, p1, v0
const/4 v0, 0x7
aget-object v10, p1, v0
const/16 v0, 0x8
aget-object v11, p1, v0
invoke-interface/range {v2 .. v11}, Lph/n;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 3
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Array of size 9 expected but got "
invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
array-length p1, p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$i;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,133 @@
.class public final Lio/reactivex/internal/functions/Functions$i0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "i0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/b<",
"Ljava/util/Map<",
"TK;TV;>;TT;>;"
}
.end annotation
# instance fields
.field public final a:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-TT;+TV;>;"
}
.end annotation
.end field
.field public final b:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-TT;+TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/o;Lph/o;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/o<",
"-TT;+TV;>;",
"Lph/o<",
"-TT;+TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$i0;->a:Lph/o;
.line 3
iput-object p2, p0, Lio/reactivex/internal/functions/Functions$i0;->b:Lph/o;
return-void
.end method
# virtual methods
.method public a(Ljava/util/Map;Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"TK;TV;>;TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$i0;->b:Lph/o;
invoke-interface {v0, p2}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 2
iget-object v1, p0, Lio/reactivex/internal/functions/Functions$i0;->a:Lph/o;
invoke-interface {v1, p2}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
.line 3
invoke-interface {p1, v0, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1, p2}, Lio/reactivex/internal/functions/Functions$i0;->a(Ljava/util/Map;Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,91 @@
.class public final Lio/reactivex/internal/functions/Functions$j;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "j"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Ljava/util/List<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:I
# direct methods
.method public constructor <init>(I)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput p1, p0, Lio/reactivex/internal/functions/Functions$j;->a:I
return-void
.end method
# virtual methods
.method public a()Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
new-instance v0, Ljava/util/ArrayList;
iget v1, p0, Lio/reactivex/internal/functions/Functions$j;->a:I
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
return-object v0
.end method
.method public bridge synthetic call()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/functions/Functions$j;->a()Ljava/util/List;
move-result-object v0
return-object v0
.end method
@@ -0,0 +1,177 @@
.class public final Lio/reactivex/internal/functions/Functions$j0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "j0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/b<",
"Ljava/util/Map<",
"TK;",
"Ljava/util/Collection<",
"TV;>;>;TT;>;"
}
.end annotation
# instance fields
.field public final a:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-TK;+",
"Ljava/util/Collection<",
"-TV;>;>;"
}
.end annotation
.end field
.field public final b:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-TT;+TV;>;"
}
.end annotation
.end field
.field public final c:Lph/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/o<",
"-TT;+TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/o;Lph/o;Lph/o;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/o<",
"-TK;+",
"Ljava/util/Collection<",
"-TV;>;>;",
"Lph/o<",
"-TT;+TV;>;",
"Lph/o<",
"-TT;+TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$j0;->a:Lph/o;
.line 3
iput-object p2, p0, Lio/reactivex/internal/functions/Functions$j0;->b:Lph/o;
.line 4
iput-object p3, p0, Lio/reactivex/internal/functions/Functions$j0;->c:Lph/o;
return-void
.end method
# virtual methods
.method public a(Ljava/util/Map;Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"TK;",
"Ljava/util/Collection<",
"TV;>;>;TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$j0;->c:Lph/o;
invoke-interface {v0, p2}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 2
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/Collection;
if-nez v1, :cond_0
.line 3
iget-object v1, p0, Lio/reactivex/internal/functions/Functions$j0;->a:Lph/o;
invoke-interface {v1, v0}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/util/Collection;
.line 4
invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 5
:cond_0
iget-object p1, p0, Lio/reactivex/internal/functions/Functions$j0;->b:Lph/o;
invoke-interface {p1, p2}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
.line 6
invoke-interface {v1, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1, p2}, Lio/reactivex/internal/functions/Functions$j0;->a(Ljava/util/Map;Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,74 @@
.class public final Lio/reactivex/internal/functions/Functions$k;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "k"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/r<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lph/e;
# direct methods
.method public constructor <init>(Lph/e;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$k;->a:Lph/e;
return-void
.end method
# virtual methods
.method public test(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object p1, p0, Lio/reactivex/internal/functions/Functions$k;->a:Lph/e;
invoke-interface {p1}, Lph/e;->getAsBoolean()Z
move-result p1
xor-int/lit8 p1, p1, 0x1
return p1
.end method
@@ -0,0 +1,47 @@
.class public final Lio/reactivex/internal/functions/Functions$k0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "k0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/r<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public test(Ljava/lang/Object;)Z
.locals 0
const/4 p1, 0x1
return p1
.end method
@@ -0,0 +1,80 @@
.class public Lio/reactivex/internal/functions/Functions$l;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "l"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/g<",
"Lok/e;",
">;"
}
.end annotation
# instance fields
.field public final a:I
# direct methods
.method public constructor <init>(I)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput p1, p0, Lio/reactivex/internal/functions/Functions$l;->a:I
return-void
.end method
# virtual methods
.method public a(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget v0, p0, Lio/reactivex/internal/functions/Functions$l;->a:I
int-to-long v0, v0
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Lok/e;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$l;->a(Lok/e;)V
return-void
.end method
@@ -0,0 +1,88 @@
.class public final Lio/reactivex/internal/functions/Functions$m;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "m"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"TT;TU;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"TU;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Class;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"TU;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$m;->a:Ljava/lang/Class;
return-void
.end method
# virtual methods
.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)TU;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$m;->a:Ljava/lang/Class;
invoke-virtual {v0, p1}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,88 @@
.class public final Lio/reactivex/internal/functions/Functions$n;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "n"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/r<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"TU;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Class;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"TU;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$n;->a:Ljava/lang/Class;
return-void
.end method
# virtual methods
.method public test(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$n;->a:Ljava/lang/Class;
invoke-virtual {v0, p1}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,44 @@
.class public final Lio/reactivex/internal/functions/Functions$o;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "o"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 0
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "EmptyAction"
return-object v0
.end method
@@ -0,0 +1,53 @@
.class public final Lio/reactivex/internal/functions/Functions$p;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "p"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/g<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public accept(Ljava/lang/Object;)V
.locals 0
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "EmptyConsumer"
return-object v0
.end method
@@ -0,0 +1,36 @@
.class public final Lio/reactivex/internal/functions/Functions$q;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/q;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "q"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(J)V
.locals 0
return-void
.end method
@@ -0,0 +1,44 @@
.class public final Lio/reactivex/internal/functions/Functions$r;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "r"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 0
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "EmptyRunnable"
return-object v0
.end method
@@ -0,0 +1,83 @@
.class public final Lio/reactivex/internal/functions/Functions$s;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "s"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/r<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$s;->a:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public test(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$s;->a:Ljava/lang/Object;
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->c(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,64 @@
.class public final Lio/reactivex/internal/functions/Functions$t;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "t"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/g<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Throwable;)V
.locals 0
.line 1
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$t;->a(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,47 @@
.class public final Lio/reactivex/internal/functions/Functions$u;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "u"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/r<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public test(Ljava/lang/Object;)Z
.locals 0
const/4 p1, 0x0
return p1
.end method
@@ -0,0 +1,67 @@
.class public final Lio/reactivex/internal/functions/Functions$v;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "v"
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/Future;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Future<",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Future;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Future<",
"*>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$v;->a:Ljava/util/concurrent/Future;
return-void
.end method
# virtual methods
.method public run()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$v;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
return-void
.end method
@@ -0,0 +1,54 @@
.class public final Lio/reactivex/internal/functions/Functions$w;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "w"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/o<",
"Ljava/lang/Object;",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
return-object p1
.end method
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "IdentityFunction"
return-object v0
.end method
@@ -0,0 +1,104 @@
.class public final Lio/reactivex/internal/functions/Functions$x;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "x"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"TU;>;",
"Lph/o<",
"TT;TU;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TU;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TU;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$x;->a:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)TU;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object p1, p0, Lio/reactivex/internal/functions/Functions$x;->a:Ljava/lang/Object;
return-object p1
.end method
.method public call()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TU;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$x;->a:Ljava/lang/Object;
return-object v0
.end method
@@ -0,0 +1,103 @@
.class public final Lio/reactivex/internal/functions/Functions$y;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "y"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lph/o<",
"Ljava/util/List<",
"TT;>;",
"Ljava/util/List<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/Comparator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Comparator<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Comparator;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Comparator<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/functions/Functions$y;->a:Ljava/util/Comparator;
return-void
.end method
# virtual methods
.method public a(Ljava/util/List;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/functions/Functions$y;->a:Ljava/util/Comparator;
invoke-static {p1, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V
return-object p1
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$y;->a(Ljava/util/List;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,71 @@
.class public final Lio/reactivex/internal/functions/Functions$z;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lph/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "z"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/g<",
"Lok/e;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const-wide v0, 0x7fffffffffffffffL
.line 1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Lok/e;
invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$z;->a(Lok/e;)V
return-void
.end method
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,51 @@
.class public final Lio/reactivex/internal/functions/a$a;
.super Ljava/lang/Object;
.source "ObjectHelper.java"
# interfaces
.implements Lph/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/functions/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lph/d<",
"Ljava/lang/Object;",
"Ljava/lang/Object;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.line 1
invoke-static {p1, p2}, Lio/reactivex/internal/functions/a;->c(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,274 @@
.class public final Lio/reactivex/internal/functions/a;
.super Ljava/lang/Object;
.source "ObjectHelper.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/functions/a$a;
}
.end annotation
# static fields
.field public static final a:Lph/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/d<",
"Ljava/lang/Object;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
.line 1
new-instance v0, Lio/reactivex/internal/functions/a$a;
invoke-direct {v0}, Lio/reactivex/internal/functions/a$a;-><init>()V
sput-object v0, Lio/reactivex/internal/functions/a;->a:Lph/d;
return-void
.end method
.method public constructor <init>()V
.locals 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "No instances!"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static a(II)I
.locals 0
if-ge p0, p1, :cond_0
const/4 p0, -0x1
goto :goto_0
:cond_0
if-le p0, p1, :cond_1
const/4 p0, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static b(JJ)I
.locals 0
cmp-long p0, p0, p2
if-gez p0, :cond_0
const/4 p0, -0x1
goto :goto_0
:cond_0
if-lez p0, :cond_1
const/4 p0, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static c(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
if-eq p0, p1, :cond_1
if-eqz p0, :cond_0
.line 1
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p0, 0x1
:goto_1
return p0
.end method
.method public static d()Lph/d;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lph/d<",
"TT;TT;>;"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/functions/a;->a:Lph/d;
return-object v0
.end method
.method public static e(Ljava/lang/Object;)I
.locals 0
if-eqz p0, :cond_0
.line 1
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result p0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static f(JLjava/lang/String;)J
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
new-instance p0, Ljava/lang/InternalError;
const-string p1, "Null check on a primitive: "
invoke-static {p1, p2}, Lc/g;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/InternalError;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Ljava/lang/String;",
")TT;"
}
.end annotation
.line 1
invoke-static {p0, p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
return-object p0
.end method
.method public static h(ILjava/lang/String;)I
.locals 2
if-lez p0, :cond_0
return p0
.line 1
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " > 0 required but it was "
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static i(JLjava/lang/String;)J
.locals 2
const-wide/16 v0, 0x0
cmp-long v0, p0, v0
if-lez v0, :cond_0
return-wide p0
.line 1
:cond_0
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p2, " > 0 required but it was "
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
@@ -0,0 +1,72 @@
.class public abstract Lio/reactivex/internal/observers/BasicIntQueueDisposable;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "BasicIntQueueDisposable.java"
# interfaces
.implements Lrh/j;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicInteger;",
"Lrh/j<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0xde6dc4fc9ec36d1L
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
return-void
.end method
# virtual methods
.method public final offer(Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Should not be called"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final offer(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)Z"
}
.end annotation
.line 2
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "Should not be called"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
@@ -0,0 +1,193 @@
.class public final Lio/reactivex/internal/observers/BiConsumerSingleObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "BiConsumerSingleObserver.java"
# interfaces
.implements Lkh/l0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/l0<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x44996dc9ab295821L
# instance fields
.field public final onCallback:Lph/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/b<",
"-TT;-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/b;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/b<",
"-TT;-",
"Ljava/lang/Throwable;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/BiConsumerSingleObserver;->onCallback:Lph/b;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.line 1
:try_start_0
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
iget-object v0, p0, Lio/reactivex/internal/observers/BiConsumerSingleObserver;->onCallback:Lph/b;
const/4 v1, 0x0
invoke-interface {v0, v1, p1}, Lph/b;->accept(Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
new-instance v1, Lio/reactivex/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
iget-object v0, p0, Lio/reactivex/internal/observers/BiConsumerSingleObserver;->onCallback:Lph/b;
const/4 v1, 0x0
invoke-interface {v0, p1, v1}, Lph/b;->accept(Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
@@ -0,0 +1,181 @@
.class public final Lio/reactivex/internal/observers/BlockingObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "BlockingObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field public static final TERMINATED:Ljava/lang/Object;
.field private static final serialVersionUID:J = -0x43aae8bc09f84c1cL
# instance fields
.field public final queue:Ljava/util/Queue;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Queue<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
.line 1
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
sput-object v0, Lio/reactivex/internal/observers/BlockingObserver;->TERMINATED:Ljava/lang/Object;
return-void
.end method
.method public constructor <init>(Ljava/util/Queue;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Queue<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 2
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
sget-object v1, Lio/reactivex/internal/observers/BlockingObserver;->TERMINATED:Ljava/lang/Object;
invoke-interface {v0, v1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
:cond_0
return-void
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
invoke-static {}, Lio/reactivex/internal/util/NotificationLite;->complete()Ljava/lang/Object;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
invoke-static {p1}, Lio/reactivex/internal/util/NotificationLite;->error(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/BlockingObserver;->queue:Ljava/util/Queue;
invoke-static {p1}, Lio/reactivex/internal/util/NotificationLite;->next(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,240 @@
.class public final Lio/reactivex/internal/observers/CallbackCompletableObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CallbackCompletableObserver.java"
# interfaces
.implements Lkh/d;
.implements Lio/reactivex/disposables/b;
.implements Lph/g;
.implements Lio/reactivex/observers/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/d;",
"Lio/reactivex/disposables/b;",
"Lph/g<",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/observers/f;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3c8666afd0faa5aaL
# instance fields
.field public final onComplete:Lph/a;
.field public final onError:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/a;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p0, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onError:Lph/g;
.line 3
iput-object p1, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onComplete:Lph/a;
return-void
.end method
.method public constructor <init>(Lph/g;Lph/a;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lph/a;",
")V"
}
.end annotation
.line 4
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 5
iput-object p1, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onError:Lph/g;
.line 6
iput-object p2, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onComplete:Lph/a;
return-void
.end method
# virtual methods
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/CallbackCompletableObserver;->accept(Ljava/lang/Throwable;)V
return-void
.end method
.method public accept(Ljava/lang/Throwable;)V
.locals 1
.line 2
new-instance v0, Lio/reactivex/exceptions/OnErrorNotImplementedException;
invoke-direct {v0, p1}, Lio/reactivex/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onError:Lph/g;
if-eq v0, p0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onComplete:Lph/a;
invoke-interface {v0}, Lph/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 2
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
.line 4
:goto_0
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/CallbackCompletableObserver;->onError:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 2
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
.line 4
:goto_0
sget-object p1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,226 @@
.class public final Lio/reactivex/internal/observers/ConsumerSingleObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ConsumerSingleObserver.java"
# interfaces
.implements Lkh/l0;
.implements Lio/reactivex/disposables/b;
.implements Lio/reactivex/observers/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/l0<",
"TT;>;",
"Lio/reactivex/disposables/b;",
"Lio/reactivex/observers/f;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x614ff1157e55cbc3L
# instance fields
.field public final onError:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final onSuccess:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/g;Lph/g;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/g<",
"-TT;>;",
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/ConsumerSingleObserver;->onSuccess:Lph/g;
.line 3
iput-object p2, p0, Lio/reactivex/internal/observers/ConsumerSingleObserver;->onError:Lph/g;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/ConsumerSingleObserver;->onError:Lph/g;
sget-object v1, Lio/reactivex/internal/functions/Functions;->f:Lph/g;
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.line 1
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/ConsumerSingleObserver;->onError:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
new-instance v1, Lio/reactivex/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/ConsumerSingleObserver;->onSuccess:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
@@ -0,0 +1,366 @@
.class public Lio/reactivex/internal/observers/DeferredScalarDisposable;
.super Lio/reactivex/internal/observers/BasicIntQueueDisposable;
.source "DeferredScalarDisposable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/observers/BasicIntQueueDisposable<",
"TT;>;"
}
.end annotation
# static fields
.field public static final DISPOSED:I = 0x4
.field public static final FUSED_CONSUMED:I = 0x20
.field public static final FUSED_EMPTY:I = 0x8
.field public static final FUSED_READY:I = 0x10
.field public static final TERMINATED:I = 0x2
.field private static final serialVersionUID:J = -0x4c5c90f80ed9d471L
# instance fields
.field public final downstream:Lkh/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkh/g0<",
"-TT;>;"
}
.end annotation
.end field
.field public value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkh/g0;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/internal/observers/BasicIntQueueDisposable;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->downstream:Lkh/g0;
return-void
.end method
# virtual methods
.method public final clear()V
.locals 1
const/16 v0, 0x20
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
const/4 v0, 0x0
.line 2
iput-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
return-void
.end method
.method public final complete()V
.locals 1
.line 10
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
and-int/lit8 v0, v0, 0x36
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x2
.line 11
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
.line 12
iget-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->downstream:Lkh/g0;
invoke-interface {v0}, Lkh/g0;->onComplete()V
return-void
.end method
.method public final complete(Ljava/lang/Object;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
and-int/lit8 v1, v0, 0x36
if-eqz v1, :cond_0
return-void
.line 2
:cond_0
iget-object v1, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->downstream:Lkh/g0;
const/16 v2, 0x8
if-ne v0, v2, :cond_1
.line 3
iput-object p1, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
const/16 p1, 0x10
.line 4
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
const/4 p1, 0x0
.line 5
invoke-interface {v1, p1}, Lkh/g0;->onNext(Ljava/lang/Object;)V
goto :goto_0
:cond_1
const/4 v0, 0x2
.line 6
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
.line 7
invoke-interface {v1, p1}, Lkh/g0;->onNext(Ljava/lang/Object;)V
.line 8
:goto_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result p1
const/4 v0, 0x4
if-eq p1, v0, :cond_2
.line 9
invoke-interface {v1}, Lkh/g0;->onComplete()V
:cond_2
return-void
.end method
.method public dispose()V
.locals 1
const/4 v0, 0x4
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V
const/4 v0, 0x0
.line 2
iput-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
return-void
.end method
.method public final error(Ljava/lang/Throwable;)V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
and-int/lit8 v0, v0, 0x36
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x2
.line 3
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
.line 4
iget-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->downstream:Lkh/g0;
invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public final isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x4
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final isEmpty()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/16 v1, 0x10
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.annotation build Lio/reactivex/annotations/Nullable;
.end annotation
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x0
const/16 v2, 0x10
if-ne v0, v2, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
.line 3
iput-object v1, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
const/16 v1, 0x20
.line 4
invoke-virtual {p0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
return-object v0
:cond_0
return-object v1
.end method
.method public final requestFusion(I)I
.locals 1
const/4 v0, 0x2
and-int/2addr p1, v0
if-eqz p1, :cond_0
const/16 p1, 0x8
.line 1
invoke-virtual {p0, p1}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
return v0
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final tryDispose()Z
.locals 2
const/4 v0, 0x4
.line 1
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndSet(I)I
move-result v1
if-eq v1, v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
@@ -0,0 +1,128 @@
.class public abstract Lio/reactivex/internal/observers/DeferredScalarObserver;
.super Lio/reactivex/internal/observers/DeferredScalarDisposable;
.source "DeferredScalarObserver.java"
# interfaces
.implements Lkh/g0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/observers/DeferredScalarDisposable<",
"TR;>;",
"Lkh/g0<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3b1b71a072cf1ebL
# instance fields
.field public upstream:Lio/reactivex/disposables/b;
# direct methods
.method public constructor <init>(Lkh/g0;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/internal/observers/DeferredScalarDisposable;-><init>(Lkh/g0;)V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
invoke-super {p0}, Lio/reactivex/internal/observers/DeferredScalarDisposable;->dispose()V
.line 2
iget-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarObserver;->upstream:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public onComplete()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
if-eqz v0, :cond_0
const/4 v1, 0x0
.line 2
iput-object v1, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
.line 3
invoke-virtual {p0, v0}, Lio/reactivex/internal/observers/DeferredScalarDisposable;->complete(Ljava/lang/Object;)V
goto :goto_0
.line 4
:cond_0
invoke-virtual {p0}, Lio/reactivex/internal/observers/DeferredScalarDisposable;->complete()V
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->value:Ljava/lang/Object;
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/DeferredScalarDisposable;->error(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/DeferredScalarObserver;->upstream:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/DeferredScalarObserver;->upstream:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lio/reactivex/internal/observers/DeferredScalarDisposable;->downstream:Lkh/g0;
invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_0
return-void
.end method
@@ -0,0 +1,116 @@
.class public final Lio/reactivex/internal/observers/EmptyCompletableObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "EmptyCompletableObserver.java"
# interfaces
.implements Lkh/d;
.implements Lio/reactivex/disposables/b;
.implements Lio/reactivex/observers/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/d;",
"Lio/reactivex/disposables/b;",
"Lio/reactivex/observers/f;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x68b5a82715a81b26L
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
new-instance v0, Lio/reactivex/exceptions/OnErrorNotImplementedException;
invoke-direct {v0, p1}, Lio/reactivex/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,270 @@
.class public final Lio/reactivex/internal/observers/ForEachWhileObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ForEachWhileObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x3d1b3ceaf2a05f88L
# instance fields
.field public done:Z
.field public final onComplete:Lph/a;
.field public final onError:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final onNext:Lph/r;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/r<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/r;Lph/g;Lph/a;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/r<",
"-TT;>;",
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lph/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->onNext:Lph/r;
.line 3
iput-object p2, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->onError:Lph/g;
.line 4
iput-object p3, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->onComplete:Lph/a;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->done:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->done:Z
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->onComplete:Lph/a;
invoke-interface {v0}, Lph/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 5
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->done:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->done:Z
.line 4
:try_start_0
iget-object v1, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->onError:Lph/g;
invoke-interface {v1, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v1
.line 5
invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
new-instance v2, Lio/reactivex/exceptions/CompositeException;
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Throwable;
const/4 v4, 0x0
aput-object p1, v3, v4
aput-object v1, v3, v0
invoke-direct {v2, v3}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v2}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->done:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/ForEachWhileObserver;->onNext:Lph/r;
invoke-interface {v0, p1}, Lph/r;->test(Ljava/lang/Object;)Z
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez p1, :cond_1
.line 3
invoke-virtual {p0}, Lio/reactivex/internal/observers/ForEachWhileObserver;->dispose()V
.line 4
invoke-virtual {p0}, Lio/reactivex/internal/observers/ForEachWhileObserver;->onComplete()V
:cond_1
return-void
:catchall_0
move-exception p1
.line 5
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-virtual {p0}, Lio/reactivex/internal/observers/ForEachWhileObserver;->dispose()V
.line 7
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/ForEachWhileObserver;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,276 @@
.class public final Lio/reactivex/internal/observers/InnerQueuedObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "InnerQueuedObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x4b2db39073b2fa8dL
# instance fields
.field public volatile done:Z
.field public fusionMode:I
.field public final parent:Lsh/j;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsh/j<",
"TT;>;"
}
.end annotation
.end field
.field public final prefetch:I
.field public queue:Lrh/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrh/o<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lsh/j;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lsh/j<",
"TT;>;I)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->parent:Lsh/j;
.line 3
iput p2, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->prefetch:I
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public fusionMode()I
.locals 1
.line 1
iget v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->fusionMode:I
return v0
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public isDone()Z
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->done:Z
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->parent:Lsh/j;
invoke-interface {v0, p0}, Lsh/j;->innerComplete(Lio/reactivex/internal/observers/InnerQueuedObserver;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->parent:Lsh/j;
invoke-interface {v0, p0, p1}, Lsh/j;->innerError(Lio/reactivex/internal/observers/InnerQueuedObserver;Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->fusionMode:I
if-nez v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->parent:Lsh/j;
invoke-interface {v0, p0, p1}, Lsh/j;->innerNext(Lio/reactivex/internal/observers/InnerQueuedObserver;Ljava/lang/Object;)V
goto :goto_0
.line 3
:cond_0
iget-object p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->parent:Lsh/j;
invoke-interface {p1}, Lsh/j;->drain()V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 2
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_2
.line 2
instance-of v0, p1, Lrh/j;
if-eqz v0, :cond_1
.line 3
check-cast p1, Lrh/j;
const/4 v0, 0x3
.line 4
invoke-interface {p1, v0}, Lrh/k;->requestFusion(I)I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
.line 5
iput v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->fusionMode:I
.line 6
iput-object p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->queue:Lrh/o;
.line 7
iput-boolean v1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->done:Z
.line 8
iget-object p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->parent:Lsh/j;
invoke-interface {p1, p0}, Lsh/j;->innerComplete(Lio/reactivex/internal/observers/InnerQueuedObserver;)V
return-void
:cond_0
const/4 v1, 0x2
if-ne v0, v1, :cond_1
.line 9
iput v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->fusionMode:I
.line 10
iput-object p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->queue:Lrh/o;
return-void
.line 11
:cond_1
iget p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->prefetch:I
neg-int p1, p1
invoke-static {p1}, Lio/reactivex/internal/util/n;->c(I)Lrh/o;
move-result-object p1
iput-object p1, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->queue:Lrh/o;
:cond_2
return-void
.end method
.method public queue()Lrh/o;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrh/o<",
"TT;>;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->queue:Lrh/o;
return-object v0
.end method
.method public setDone()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/internal/observers/InnerQueuedObserver;->done:Z
return-void
.end method
@@ -0,0 +1,342 @@
.class public final Lio/reactivex/internal/observers/LambdaObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "LambdaObserver.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
.implements Lio/reactivex/observers/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/g0<",
"TT;>;",
"Lio/reactivex/disposables/b;",
"Lio/reactivex/observers/f;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x64a12a8486b15cccL
# instance fields
.field public final onComplete:Lph/a;
.field public final onError:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final onNext:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-TT;>;"
}
.end annotation
.end field
.field public final onSubscribe:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lph/g;Lph/g;Lph/a;Lph/g;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lph/g<",
"-TT;>;",
"Lph/g<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lph/a;",
"Lph/g<",
"-",
"Lio/reactivex/disposables/b;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/observers/LambdaObserver;->onNext:Lph/g;
.line 3
iput-object p2, p0, Lio/reactivex/internal/observers/LambdaObserver;->onError:Lph/g;
.line 4
iput-object p3, p0, Lio/reactivex/internal/observers/LambdaObserver;->onComplete:Lph/a;
.line 5
iput-object p4, p0, Lio/reactivex/internal/observers/LambdaObserver;->onSubscribe:Lph/g;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public hasCustomOnError()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/LambdaObserver;->onError:Lph/g;
sget-object v1, Lio/reactivex/internal/functions/Functions;->f:Lph/g;
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public isDisposed()Z
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/observers/LambdaObserver;->isDisposed()Z
move-result v0
if-nez v0, :cond_0
.line 2
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/LambdaObserver;->onComplete:Lph/a;
invoke-interface {v0}, Lph/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 4
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/observers/LambdaObserver;->isDisposed()Z
move-result v0
if-nez v0, :cond_0
.line 2
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 3
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/LambdaObserver;->onError:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
new-instance v1, Lio/reactivex/exceptions/CompositeException;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
.line 6
:cond_0
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/observers/LambdaObserver;->isDisposed()Z
move-result v0
if-nez v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/LambdaObserver;->onNext:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/LambdaObserver;->onError(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/observers/LambdaObserver;->onSubscribe:Lph/g;
invoke-interface {v0, p0}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V
.line 5
invoke-virtual {p0, v0}, Lio/reactivex/internal/observers/LambdaObserver;->onError(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
@@ -0,0 +1,130 @@
.class final Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CompletableAndThenCompletable.java"
# interfaces
.implements Lkh/d;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "SourceObserver"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/d;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x38ec1727c243e8a6L
# instance fields
.field public final actualObserver:Lkh/d;
.field public final next:Lkh/g;
# direct methods
.method public constructor <init>(Lkh/d;Lkh/g;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;->actualObserver:Lkh/d;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;->next:Lkh/g;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;->next:Lkh/g;
new-instance v1, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;
iget-object v2, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;->actualObserver:Lkh/d;
invoke-direct {v1, p0, v2}, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;-><init>(Ljava/util/concurrent/atomic/AtomicReference;Lkh/d;)V
invoke-interface {v0, v1}, Lkh/g;->d(Lkh/d;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;->actualObserver:Lkh/d;
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
move-result p1
if-eqz p1, :cond_0
.line 2
iget-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;->actualObserver:Lkh/d;
invoke-interface {p1, p0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_0
return-void
.end method
@@ -0,0 +1,93 @@
.class public final Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;
.super Ljava/lang/Object;
.source "CompletableAndThenCompletable.java"
# interfaces
.implements Lkh/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;"
}
.end annotation
.end field
.field public final b:Lkh/d;
# direct methods
.method public constructor <init>(Ljava/util/concurrent/atomic/AtomicReference;Lkh/d;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/d;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;->a:Ljava/util/concurrent/atomic/AtomicReference;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;->b:Lkh/d;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;->b:Lkh/d;
invoke-interface {v0}, Lkh/d;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;->b:Lkh/d;
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,54 @@
.class public final Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;
.super Lkh/a;
.source "CompletableAndThenCompletable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$a;,
Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;
}
.end annotation
# instance fields
.field public final a:Lkh/g;
.field public final b:Lkh/g;
# direct methods
.method public constructor <init>(Lkh/g;Lkh/g;)V
.locals 0
.line 1
invoke-direct {p0}, Lkh/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;->a:Lkh/g;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;->b:Lkh/g;
return-void
.end method
# virtual methods
.method public I0(Lkh/d;)V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;->a:Lkh/g;
new-instance v1, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;
iget-object v2, p0, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable;->b:Lkh/g;
invoke-direct {v1, p1, v2}, Lio/reactivex/internal/operators/completable/CompletableAndThenCompletable$SourceObserver;-><init>(Lkh/d;Lkh/g;)V
invoke-interface {v0, v1}, Lkh/g;->d(Lkh/d;)V
return-void
.end method
@@ -0,0 +1,79 @@
.class final Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.super Ljava/util/concurrent/atomic/AtomicBoolean;
.source "CompletableCache.java"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableCache;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "InnerCompletableCache"
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x7c1c7632007db36cL
# instance fields
.field public final downstream:Lkh/d;
.field public final synthetic this$0:Lio/reactivex/internal/operators/completable/CompletableCache;
# direct methods
.method public constructor <init>(Lio/reactivex/internal/operators/completable/CompletableCache;Lkh/d;)V
.locals 0
.line 1
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;->this$0:Lio/reactivex/internal/operators/completable/CompletableCache;
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
.line 2
iput-object p2, p0, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;->downstream:Lkh/d;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 2
const/4 v0, 0x0
const/4 v1, 0x1
.line 1
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;->this$0:Lio/reactivex/internal/operators/completable/CompletableCache;
invoke-virtual {v0, p0}, Lio/reactivex/internal/operators/completable/CompletableCache;->i1(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)V
:cond_0
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
move-result v0
return v0
.end method
@@ -0,0 +1,399 @@
.class public final Lio/reactivex/internal/operators/completable/CompletableCache;
.super Lkh/a;
.source "CompletableCache.java"
# interfaces
.implements Lkh/d;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
}
.end annotation
# static fields
.field public static final e:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.field public static final f:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
# instance fields
.field public final a:Lkh/g;
.field public final b:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"[",
"Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;",
">;"
}
.end annotation
.end field
.field public final c:Ljava/util/concurrent/atomic/AtomicBoolean;
.field public d:Ljava/lang/Throwable;
# direct methods
.method public static constructor <clinit>()V
.locals 2
const/4 v0, 0x0
new-array v1, v0, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.line 1
sput-object v1, Lio/reactivex/internal/operators/completable/CompletableCache;->e:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
new-array v0, v0, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.line 2
sput-object v0, Lio/reactivex/internal/operators/completable/CompletableCache;->f:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
return-void
.end method
.method public constructor <init>(Lkh/g;)V
.locals 1
.line 1
invoke-direct {p0}, Lkh/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->a:Lkh/g;
.line 3
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
sget-object v0, Lio/reactivex/internal/operators/completable/CompletableCache;->e:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invoke-direct {p1, v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
.line 4
new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->c:Ljava/util/concurrent/atomic/AtomicBoolean;
return-void
.end method
# virtual methods
.method public I0(Lkh/d;)V
.locals 2
.line 1
new-instance v0, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invoke-direct {v0, p0, p1}, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;-><init>(Lio/reactivex/internal/operators/completable/CompletableCache;Lkh/d;)V
.line 2
invoke-interface {p1, v0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 3
invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/completable/CompletableCache;->h1(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)Z
move-result v1
if-eqz v1, :cond_1
.line 4
invoke-virtual {v0}, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;->isDisposed()Z
move-result p1
if-eqz p1, :cond_0
.line 5
invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/completable/CompletableCache;->i1(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)V
.line 6
:cond_0
iget-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->c:Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 v0, 0x0
const/4 v1, 0x1
invoke-virtual {p1, v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result p1
if-eqz p1, :cond_3
.line 7
iget-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->a:Lkh/g;
invoke-interface {p1, p0}, Lkh/g;->d(Lkh/d;)V
goto :goto_0
.line 8
:cond_1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->d:Ljava/lang/Throwable;
if-eqz v0, :cond_2
.line 9
invoke-interface {p1, v0}, Lkh/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 10
:cond_2
invoke-interface {p1}, Lkh/d;->onComplete()V
:cond_3
:goto_0
return-void
.end method
.method public h1(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)Z
.locals 4
.line 1
:cond_0
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.line 2
sget-object v1, Lio/reactivex/internal/operators/completable/CompletableCache;->f:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
const/4 v2, 0x0
if-ne v0, v1, :cond_1
return v2
.line 3
:cond_1
array-length v1, v0
add-int/lit8 v3, v1, 0x1
.line 4
new-array v3, v3, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.line 5
invoke-static {v0, v2, v3, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 6
aput-object p1, v3, v1
.line 7
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v1, v0, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x1
return p1
.end method
.method public i1(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)V
.locals 6
.line 1
:cond_0
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.line 2
array-length v1, v0
if-nez v1, :cond_1
return-void
:cond_1
const/4 v2, -0x1
const/4 v3, 0x0
move v4, v3
:goto_0
if-ge v4, v1, :cond_3
.line 3
aget-object v5, v0, v4
if-ne v5, p1, :cond_2
move v2, v4
goto :goto_1
:cond_2
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_3
:goto_1
if-gez v2, :cond_4
return-void
:cond_4
const/4 v4, 0x1
if-ne v1, v4, :cond_5
.line 4
sget-object v1, Lio/reactivex/internal/operators/completable/CompletableCache;->e:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
goto :goto_2
:cond_5
add-int/lit8 v5, v1, -0x1
.line 5
new-array v5, v5, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
.line 6
invoke-static {v0, v3, v5, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
add-int/lit8 v3, v2, 0x1
sub-int/2addr v1, v2
sub-int/2addr v1, v4
.line 7
invoke-static {v0, v3, v5, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
move-object v1, v5
.line 8
:goto_2
iget-object v2, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v2, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
return-void
.end method
.method public onComplete()V
.locals 5
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
sget-object v1, Lio/reactivex/internal/operators/completable/CompletableCache;->f:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
aget-object v3, v0, v2
.line 2
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
move-result v4
if-nez v4, :cond_0
.line 3
iget-object v3, v3, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;->downstream:Lkh/d;
invoke-interface {v3}, Lkh/d;->onComplete()V
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 5
.line 1
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->d:Ljava/lang/Throwable;
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableCache;->b:Ljava/util/concurrent/atomic/AtomicReference;
sget-object v1, Lio/reactivex/internal/operators/completable/CompletableCache;->f:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
aget-object v3, v0, v2
.line 3
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
move-result v4
if-nez v4, :cond_0
.line 4
iget-object v3, v3, Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;->downstream:Lkh/d;
invoke-interface {v3, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
return-void
.end method
@@ -0,0 +1,81 @@
.class final Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CompletableConcat.java"
# interfaces
.implements Lkh/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ConcatInnerObserver"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/d;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x4bb35305c09b480fL
# instance fields
.field public final parent:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
# direct methods
.method public constructor <init>(Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;->parent:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;->parent:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
invoke-virtual {v0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->innerComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;->parent:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
invoke-virtual {v0, p1}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->innerError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,582 @@
.class final Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "CompletableConcat.java"
# interfaces
.implements Lkh/o;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableConcat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CompletableConcatSubscriber"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicInteger;",
"Lkh/o<",
"Lkh/g;",
">;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x7d58c452a57faa4cL
# instance fields
.field public volatile active:Z
.field public consumed:I
.field public volatile done:Z
.field public final downstream:Lkh/d;
.field public final inner:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
.field public final limit:I
.field public final once:Ljava/util/concurrent/atomic/AtomicBoolean;
.field public final prefetch:I
.field public queue:Lrh/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrh/o<",
"Lkh/g;",
">;"
}
.end annotation
.end field
.field public sourceFused:I
.field public upstream:Lok/e;
# direct methods
.method public constructor <init>(Lkh/d;I)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
.line 3
iput p2, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->prefetch:I
.line 4
new-instance p1, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
invoke-direct {p1, p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;-><init>(Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;)V
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->inner:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
.line 5
new-instance p1, Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->once:Ljava/util/concurrent/atomic/AtomicBoolean;
shr-int/lit8 p1, p2, 0x2
sub-int/2addr p2, p1
.line 6
iput p2, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->limit:I
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->upstream:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->inner:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public drain()V
.locals 5
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v0
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->isDisposed()Z
move-result v0
if-eqz v0, :cond_1
return-void
.line 3
:cond_1
iget-boolean v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->active:Z
if-nez v0, :cond_5
.line 4
iget-boolean v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->done:Z
.line 5
:try_start_0
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->queue:Lrh/o;
invoke-interface {v1}, Lrh/o;->poll()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lkh/g;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v2, 0x0
const/4 v3, 0x1
if-nez v1, :cond_2
move v4, v3
goto :goto_0
:cond_2
move v4, v2
:goto_0
if-eqz v0, :cond_4
if-eqz v4, :cond_4
.line 6
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->once:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {v0, v2, v3}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result v0
if-eqz v0, :cond_3
.line 7
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
invoke-interface {v0}, Lkh/d;->onComplete()V
:cond_3
return-void
:cond_4
if-nez v4, :cond_5
.line 8
iput-boolean v3, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->active:Z
.line 9
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->inner:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
invoke-interface {v1, v0}, Lkh/g;->d(Lkh/d;)V
.line 10
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->request()V
goto :goto_1
:catchall_0
move-exception v0
.line 11
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 12
invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->innerError(Ljava/lang/Throwable;)V
return-void
.line 13
:cond_5
:goto_1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I
move-result v0
if-nez v0, :cond_0
return-void
.end method
.method public innerComplete()V
.locals 1
const/4 v0, 0x0
.line 1
iput-boolean v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->active:Z
.line 2
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->drain()V
return-void
.end method
.method public innerError(Ljava/lang/Throwable;)V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->once:Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 v1, 0x0
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->upstream:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 4
:cond_0
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->inner:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->done:Z
.line 2
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->drain()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->once:Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 v1, 0x0
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->inner:Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber$ConcatInnerObserver;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 4
:cond_0
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public bridge synthetic onNext(Ljava/lang/Object;)V
.locals 0
.line 1
check-cast p1, Lkh/g;
invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->onNext(Lkh/g;)V
return-void
.end method
.method public onNext(Lkh/g;)V
.locals 1
.line 2
iget v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->sourceFused:I
if-nez v0, :cond_0
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->queue:Lrh/o;
invoke-interface {v0, p1}, Lrh/o;->offer(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_0
.line 4
new-instance p1, Lio/reactivex/exceptions/MissingBackpressureException;
invoke-direct {p1}, Lio/reactivex/exceptions/MissingBackpressureException;-><init>()V
invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->onError(Ljava/lang/Throwable;)V
return-void
.line 5
:cond_0
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->drain()V
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 6
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->upstream:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_4
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->upstream:Lok/e;
.line 3
iget v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->prefetch:I
const v1, 0x7fffffff
if-ne v0, v1, :cond_0
const-wide v2, 0x7fffffffffffffffL
goto :goto_0
:cond_0
int-to-long v2, v0
.line 4
:goto_0
instance-of v0, p1, Lrh/l;
if-eqz v0, :cond_2
.line 5
move-object v0, p1
check-cast v0, Lrh/l;
const/4 v4, 0x3
.line 6
invoke-interface {v0, v4}, Lrh/k;->requestFusion(I)I
move-result v4
const/4 v5, 0x1
if-ne v4, v5, :cond_1
.line 7
iput v4, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->sourceFused:I
.line 8
iput-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->queue:Lrh/o;
.line 9
iput-boolean v5, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->done:Z
.line 10
iget-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
invoke-interface {p1, p0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 11
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->drain()V
return-void
:cond_1
const/4 v5, 0x2
if-ne v4, v5, :cond_2
.line 12
iput v4, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->sourceFused:I
.line 13
iput-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->queue:Lrh/o;
.line 14
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
invoke-interface {v0, p0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 15
invoke-interface {p1, v2, v3}, Lok/e;->request(J)V
return-void
.line 16
:cond_2
iget v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->prefetch:I
if-ne v0, v1, :cond_3
.line 17
new-instance v0, Lio/reactivex/internal/queue/a;
invoke-static {}, Lkh/j;->U()I
move-result v1
invoke-direct {v0, v1}, Lio/reactivex/internal/queue/a;-><init>(I)V
iput-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->queue:Lrh/o;
goto :goto_1
.line 18
:cond_3
new-instance v0, Lio/reactivex/internal/queue/SpscArrayQueue;
iget v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->prefetch:I
invoke-direct {v0, v1}, Lio/reactivex/internal/queue/SpscArrayQueue;-><init>(I)V
iput-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->queue:Lrh/o;
.line 19
:goto_1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->downstream:Lkh/d;
invoke-interface {v0, p0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 20
invoke-interface {p1, v2, v3}, Lok/e;->request(J)V
:cond_4
return-void
.end method
.method public request()V
.locals 4
.line 1
iget v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->sourceFused:I
const/4 v1, 0x1
if-eq v0, v1, :cond_1
.line 2
iget v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->consumed:I
add-int/2addr v0, v1
.line 3
iget v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->limit:I
if-ne v0, v1, :cond_0
const/4 v1, 0x0
.line 4
iput v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->consumed:I
.line 5
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->upstream:Lok/e;
int-to-long v2, v0
invoke-interface {v1, v2, v3}, Lok/e;->request(J)V
goto :goto_0
.line 6
:cond_0
iput v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;->consumed:I
:cond_1
:goto_0
return-void
.end method
@@ -0,0 +1,71 @@
.class public final Lio/reactivex/internal/operators/completable/CompletableConcat;
.super Lkh/a;
.source "CompletableConcat.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
}
.end annotation
# instance fields
.field public final a:Lok/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/c<",
"+",
"Lkh/g;",
">;"
}
.end annotation
.end field
.field public final b:I
# direct methods
.method public constructor <init>(Lok/c;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/c<",
"+",
"Lkh/g;",
">;I)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lkh/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcat;->a:Lok/c;
.line 3
iput p2, p0, Lio/reactivex/internal/operators/completable/CompletableConcat;->b:I
return-void
.end method
# virtual methods
.method public I0(Lkh/d;)V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcat;->a:Lok/c;
new-instance v1, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;
iget v2, p0, Lio/reactivex/internal/operators/completable/CompletableConcat;->b:I
invoke-direct {v1, p1, v2}, Lio/reactivex/internal/operators/completable/CompletableConcat$CompletableConcatSubscriber;-><init>(Lkh/d;I)V
invoke-interface {v0, v1}, Lok/c;->subscribe(Lok/d;)V
return-void
.end method
@@ -0,0 +1,164 @@
.class final Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "CompletableConcatArray.java"
# interfaces
.implements Lkh/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableConcatArray;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ConcatInnerObserver"
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x6e8ac9652ad7cd50L
# instance fields
.field public final downstream:Lkh/d;
.field public index:I
.field public final sd:Lio/reactivex/internal/disposables/SequentialDisposable;
.field public final sources:[Lkh/g;
# direct methods
.method public constructor <init>(Lkh/d;[Lkh/g;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->downstream:Lkh/d;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sources:[Lkh/g;
.line 4
new-instance p1, Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-direct {p1}, Lio/reactivex/internal/disposables/SequentialDisposable;-><init>()V
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
return-void
.end method
# virtual methods
.method public next()V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v0}, Lio/reactivex/internal/disposables/SequentialDisposable;->isDisposed()Z
move-result v0
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v0
if-eqz v0, :cond_1
return-void
.line 3
:cond_1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sources:[Lkh/g;
.line 4
:cond_2
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v1}, Lio/reactivex/internal/disposables/SequentialDisposable;->isDisposed()Z
move-result v1
if-eqz v1, :cond_3
return-void
.line 5
:cond_3
iget v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->index:I
add-int/lit8 v2, v1, 0x1
iput v2, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->index:I
.line 6
array-length v2, v0
if-ne v1, v2, :cond_4
.line 7
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->downstream:Lkh/d;
invoke-interface {v0}, Lkh/d;->onComplete()V
return-void
.line 8
:cond_4
aget-object v1, v0, v1
invoke-interface {v1, p0}, Lkh/g;->d(Lkh/d;)V
.line 9
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I
move-result v1
if-nez v1, :cond_2
return-void
.end method
.method public onComplete()V
.locals 0
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->next()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->downstream:Lkh/d;
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v0, p1}, Lio/reactivex/internal/disposables/SequentialDisposable;->replace(Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,52 @@
.class public final Lio/reactivex/internal/operators/completable/CompletableConcatArray;
.super Lkh/a;
.source "CompletableConcatArray.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;
}
.end annotation
# instance fields
.field public final a:[Lkh/g;
# direct methods
.method public constructor <init>([Lkh/g;)V
.locals 0
.line 1
invoke-direct {p0}, Lkh/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray;->a:[Lkh/g;
return-void
.end method
# virtual methods
.method public I0(Lkh/d;)V
.locals 2
.line 1
new-instance v0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatArray;->a:[Lkh/g;
invoke-direct {v0, p1, v1}, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;-><init>(Lkh/d;[Lkh/g;)V
.line 2
iget-object v1, v0, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-interface {p1, v1}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 3
invoke-virtual {v0}, Lio/reactivex/internal/operators/completable/CompletableConcatArray$ConcatInnerObserver;->next()V
return-void
.end method
@@ -0,0 +1,219 @@
.class final Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "CompletableConcatIterable.java"
# interfaces
.implements Lkh/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableConcatIterable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ConcatInnerObserver"
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x6e8ac9652ad7cd50L
# instance fields
.field public final downstream:Lkh/d;
.field public final sd:Lio/reactivex/internal/disposables/SequentialDisposable;
.field public final sources:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"+",
"Lkh/g;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkh/d;Ljava/util/Iterator;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/d;",
"Ljava/util/Iterator<",
"+",
"Lkh/g;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->downstream:Lkh/d;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sources:Ljava/util/Iterator;
.line 4
new-instance p1, Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-direct {p1}, Lio/reactivex/internal/disposables/SequentialDisposable;-><init>()V
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
return-void
.end method
# virtual methods
.method public next()V
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v0}, Lio/reactivex/internal/disposables/SequentialDisposable;->isDisposed()Z
move-result v0
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v0
if-eqz v0, :cond_1
return-void
.line 3
:cond_1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sources:Ljava/util/Iterator;
.line 4
:cond_2
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v1}, Lio/reactivex/internal/disposables/SequentialDisposable;->isDisposed()Z
move-result v1
if-eqz v1, :cond_3
return-void
.line 5
:cond_3
:try_start_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
if-nez v1, :cond_4
.line 6
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->downstream:Lkh/d;
invoke-interface {v0}, Lkh/d;->onComplete()V
return-void
.line 7
:cond_4
:try_start_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
const-string v2, "The CompletableSource returned is null"
invoke-static {v1, v2}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lkh/g;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 8
invoke-interface {v1, p0}, Lkh/g;->d(Lkh/d;)V
.line 9
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I
move-result v1
if-nez v1, :cond_2
return-void
:catchall_0
move-exception v0
.line 10
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 11
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->downstream:Lkh/d;
invoke-interface {v1, v0}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
:catchall_1
move-exception v0
.line 12
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 13
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->downstream:Lkh/d;
invoke-interface {v1, v0}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onComplete()V
.locals 0
.line 1
invoke-virtual {p0}, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->next()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->downstream:Lkh/d;
invoke-interface {v0, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v0, p1}, Lio/reactivex/internal/disposables/SequentialDisposable;->replace(Lio/reactivex/disposables/b;)Z
return-void
.end method
@@ -0,0 +1,97 @@
.class public final Lio/reactivex/internal/operators/completable/CompletableConcatIterable;
.super Lkh/a;
.source "CompletableConcatIterable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;
}
.end annotation
# instance fields
.field public final a:Ljava/lang/Iterable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Iterable<",
"+",
"Lkh/g;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Iterable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+",
"Lkh/g;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lkh/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable;->a:Ljava/lang/Iterable;
return-void
.end method
# virtual methods
.method public I0(Lkh/d;)V
.locals 2
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/completable/CompletableConcatIterable;->a:Ljava/lang/Iterable;
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
const-string v1, "The iterator returned is null"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Iterator;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 2
new-instance v1, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;
invoke-direct {v1, p1, v0}, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;-><init>(Lkh/d;Ljava/util/Iterator;)V
.line 3
iget-object v0, v1, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->sd:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-interface {p1, v0}, Lkh/d;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 4
invoke-virtual {v1}, Lio/reactivex/internal/operators/completable/CompletableConcatIterable$ConcatInnerObserver;->next()V
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/d;)V
return-void
.end method
@@ -0,0 +1,268 @@
.class final Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CompletableCreate.java"
# interfaces
.implements Lkh/c;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/completable/CompletableCreate;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Emitter"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lkh/c;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x223dd198233781a4L
# instance fields
.field public final downstream:Lkh/d;
# direct methods
.method public constructor <init>(Lkh/d;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;->downstream:Lkh/d;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v0, v1, :cond_1
.line 2
invoke-virtual {p0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
if-eq v0, v1, :cond_1
.line 3
:try_start_0
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;->downstream:Lkh/d;
invoke-interface {v1}, Lkh/d;->onComplete()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_1
.line 4
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
goto :goto_0
:catchall_0
move-exception v1
if-eqz v0, :cond_0
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_0
throw v1
:cond_1
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;->tryOnError(Ljava/lang/Throwable;)Z
move-result v0
if-nez v0, :cond_0
.line 2
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
.method public setCancellable(Lph/f;)V
.locals 1
.line 1
new-instance v0, Lio/reactivex/internal/disposables/CancellableDisposable;
invoke-direct {v0, p1}, Lio/reactivex/internal/disposables/CancellableDisposable;-><init>(Lph/f;)V
invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;->setDisposable(Lio/reactivex/disposables/b;)V
return-void
.end method
.method public setDisposable(Lio/reactivex/disposables/b;)V
.locals 0
.line 1
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->set(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 3
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Object;
.line 1
const-class v1, Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
invoke-super {p0}, Ljava/util/concurrent/atomic/AtomicReference;->toString()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
const-string v1, "%s{%s}"
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public tryOnError(Ljava/lang/Throwable;)Z
.locals 2
if-nez p1, :cond_0
.line 1
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
.line 2
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if-eq v0, v1, :cond_3
.line 3
invoke-virtual {p0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
if-eq v0, v1, :cond_3
.line 4
:try_start_0
iget-object v1, p0, Lio/reactivex/internal/operators/completable/CompletableCreate$Emitter;->downstream:Lkh/d;
invoke-interface {v1, p1}, Lkh/d;->onError(Ljava/lang/Throwable;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_1
.line 5
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_1
const/4 p1, 0x1
return p1
:catchall_0
move-exception p1
if-eqz v0, :cond_2
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
:cond_2
throw p1
:cond_3
const/4 p1, 0x0
return p1
.end method

Some files were not shown because too many files have changed in this diff Show More