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,215 @@
.class public final Lio/reactivex/rxjava3/internal/disposables/ArrayCompositeDisposable;
.super Ljava/util/concurrent/atomic/AtomicReferenceArray;
.source "ArrayCompositeDisposable.java"
# interfaces
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReferenceArray<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x261d229f8c0b4b20L
# direct methods
.method public constructor <init>(I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"capacity"
}
.end annotation
.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/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/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/rxjava3/disposables/c;
.line 4
sget-object v3, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/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/rxjava3/disposables/c;
if-eq v2, v3, :cond_0
if-eqz v2, :cond_0
.line 6
invoke-interface {v2}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v1, v2, :cond_0
const/4 v0, 0x1
:cond_0
return v0
.end method
.method public replaceResource(ILio/reactivex/rxjava3/disposables/c;)Lio/reactivex/rxjava3/disposables/c;
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"index",
"resource"
}
.end annotation
.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/rxjava3/disposables/c;
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
.line 3
invoke-interface {p2}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/disposables/c;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"index",
"resource"
}
.end annotation
.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/rxjava3/disposables/c;
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_1
.line 3
invoke-interface {p2}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/disposables/c;->dispose()V
:cond_2
const/4 p1, 0x1
return p1
.end method
@@ -0,0 +1,106 @@
.class public final Lio/reactivex/rxjava3/internal/disposables/CancellableDisposable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "CancellableDisposable.java"
# interfaces
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lci/f;",
">;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x4f5c453163a88dc2L
# direct methods
.method public constructor <init>(Lci/f;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"cancellable"
}
.end annotation
.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, Lci/f;
if-eqz v0, :cond_0
.line 3
:try_start_0
invoke-interface {v0}, Lci/f;->cancel()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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0}, Lji/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,520 @@
.class public final enum Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
.super Ljava/lang/Enum;
.source "DisposableHelper.java"
# interfaces
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;",
">;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
.field public static final enum DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
const-string v1, "DISPOSED"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->$VALUES:[Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"$enum$name",
"$enum$ordinal"
}
.end annotation
.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/MethodParameters;
accessFlags = {
0x0
}
names = {
"field"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;)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/rxjava3/disposables/c;
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/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/rxjava3/disposables/c;
if-eq p0, v1, :cond_1
if-eqz p0, :cond_0
.line 4
invoke-interface {p0}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/disposables/c;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/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/rxjava3/disposables/c;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"field",
"d"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lio/reactivex/rxjava3/disposables/c;",
")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/rxjava3/disposables/c;
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_2
if-eqz p1, :cond_1
.line 3
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/exceptions/ProtocolViolationException;
const-string v1, "Disposable already set!"
invoke-direct {v0, v1}, Lio/reactivex/rxjava3/exceptions/ProtocolViolationException;-><init>(Ljava/lang/String;)V
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
.end method
.method public static set(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"field",
"d"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lio/reactivex/rxjava3/disposables/c;",
")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/rxjava3/disposables/c;
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne v0, v1, :cond_2
if-eqz p1, :cond_1
.line 3
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/disposables/c;->dispose()V
:cond_3
const/4 p0, 0x1
return p0
.end method
.method public static setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"field",
"d"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lio/reactivex/rxjava3/disposables/c;",
")Z"
}
.end annotation
const-string v0, "d is null"
.line 1
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(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/rxjava3/disposables/c;->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/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-eq p0, p1, :cond_0
.line 5
invoke-static {}, Lio/reactivex/rxjava3/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/rxjava3/disposables/c;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"field",
"d"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lio/reactivex/rxjava3/disposables/c;",
")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/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
if-ne p0, v0, :cond_0
.line 3
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->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/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"current",
"next"
}
.end annotation
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}, Lji/a;->Y(Ljava/lang/Throwable;)V
return v0
:cond_0
if-eqz p0, :cond_1
.line 2
invoke-interface {p1}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 3
invoke-static {}, Lio/reactivex/rxjava3/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/rxjava3/internal/disposables/DisposableHelper;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8000
}
names = {
"name"
}
.end annotation
.line 1
const-class v0, Lio/reactivex/rxjava3/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/rxjava3/internal/disposables/DisposableHelper;
return-object p0
.end method
.method public static values()[Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->$VALUES:[Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {v0}, [Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/rxjava3/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,447 @@
.class public final enum Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
.super Ljava/lang/Enum;
.source "EmptyDisposable.java"
# interfaces
.implements Lei/l;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;",
">;",
"Lei/l<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
.field public static final enum INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
.field public static final enum NEVER:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
# direct methods
.method public static constructor <clinit>()V
.locals 5
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
.line 2
new-instance v1, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
const-string v3, "NEVER"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;-><init>(Ljava/lang/String;I)V
sput-object v1, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->NEVER:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
const/4 v3, 0x2
new-array v3, v3, [Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
aput-object v0, v3, v2
aput-object v1, v3, v4
.line 3
sput-object v3, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->$VALUES:[Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"$enum$name",
"$enum$ordinal"
}
.end annotation
.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(Lai/d;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.line 5
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p0, v0}, Lai/d;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 6
invoke-interface {p0}, Lai/d;->onComplete()V
return-void
.end method
.method public static complete(Lai/n0;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"*>;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p0, v0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 2
invoke-interface {p0}, Lai/n0;->onComplete()V
return-void
.end method
.method public static complete(Lai/y;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"*>;)V"
}
.end annotation
.line 3
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p0, v0}, Lai/y;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 4
invoke-interface {p0}, Lai/y;->onComplete()V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lai/d;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"e",
"observer"
}
.end annotation
.line 3
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lai/d;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 4
invoke-interface {p1, p0}, Lai/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lai/n0;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"e",
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lai/n0<",
"*>;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 2
invoke-interface {p1, p0}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lai/s0;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"e",
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lai/s0<",
"*>;)V"
}
.end annotation
.line 5
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lai/s0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 6
invoke-interface {p1, p0}, Lai/s0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static error(Ljava/lang/Throwable;Lai/y;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"e",
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Throwable;",
"Lai/y<",
"*>;)V"
}
.end annotation
.line 7
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-interface {p1, v0}, Lai/y;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 8
invoke-interface {p1, p0}, Lai/y;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8000
}
names = {
"name"
}
.end annotation
.line 1
const-class v0, Lio/reactivex/rxjava3/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/rxjava3/internal/disposables/EmptyDisposable;
return-object p0
.end method
.method public static values()[Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->$VALUES:[Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;
invoke-virtual {v0}, [Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/rxjava3/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/rxjava3/internal/disposables/EmptyDisposable;->INSTANCE:Lio/reactivex/rxjava3/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.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 offer(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"v1",
"v2"
}
.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
.method public poll()Ljava/lang/Object;
.locals 1
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public requestFusion(I)I
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
and-int/lit8 p1, p1, 0x2
return p1
.end method
@@ -0,0 +1,118 @@
.class public final Lio/reactivex/rxjava3/internal/disposables/SequentialDisposable;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "SequentialDisposable.java"
# interfaces
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/disposables/c;",
">;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.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/rxjava3/disposables/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"initial"
}
.end annotation
.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/rxjava3/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/rxjava3/disposables/c;
invoke-static {v0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->isDisposed(Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
return v0
.end method
.method public replace(Lio/reactivex/rxjava3/disposables/c;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"next"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->replace(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
move-result p1
return p1
.end method
.method public update(Lio/reactivex/rxjava3/disposables/c;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"next"
}
.end annotation
.line 1
invoke-static {p0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->set(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,163 @@
.class final enum Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
.super Ljava/lang/Enum;
.source "Functions.java"
# interfaces
.implements Lci/s;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "HashSetSupplier"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;",
">;",
"Lci/s<",
"Ljava/util/Set<",
"Ljava/lang/Object;",
">;>;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
.field public static final enum INSTANCE:Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;->INSTANCE:Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;->$VALUES:[Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"$enum$name",
"$enum$ordinal"
}
.end annotation
.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/rxjava3/internal/functions/Functions$HashSetSupplier;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8000
}
names = {
"name"
}
.end annotation
.line 1
const-class v0, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
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/rxjava3/internal/functions/Functions$HashSetSupplier;
return-object p0
.end method
.method public static values()[Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;->$VALUES:[Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
invoke-virtual {v0}, [Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;
return-object v0
.end method
# virtual methods
.method public bridge synthetic get()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/functions/Functions$HashSetSupplier;->get()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public get()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/lang/Object;",
">;"
}
.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,150 @@
.class final enum Lio/reactivex/rxjava3/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/rxjava3/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/rxjava3/internal/functions/Functions$NaturalComparator;",
">;",
"Ljava/util/Comparator<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
.field public static final enum INSTANCE:Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
# direct methods
.method public static constructor <clinit>()V
.locals 3
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
const-string v1, "INSTANCE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;-><init>(Ljava/lang/String;I)V
sput-object v0, Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;->INSTANCE:Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
const/4 v1, 0x1
new-array v1, v1, [Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
aput-object v0, v1, v2
.line 2
sput-object v1, Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;->$VALUES:[Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"$enum$name",
"$enum$ordinal"
}
.end annotation
.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/rxjava3/internal/functions/Functions$NaturalComparator;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8000
}
names = {
"name"
}
.end annotation
.line 1
const-class v0, Lio/reactivex/rxjava3/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/rxjava3/internal/functions/Functions$NaturalComparator;
return-object p0
.end method
.method public static values()[Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
.locals 1
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;->$VALUES:[Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
invoke-virtual {v0}, [Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lio/reactivex/rxjava3/internal/functions/Functions$NaturalComparator;
return-object v0
.end method
# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"o1",
"o2"
}
.end annotation
.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,87 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$a;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/g<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lci/a;
# direct methods
.method public constructor <init>(Lci/a;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"action"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$a;->a:Lci/a;
return-void
.end method
# virtual methods
.method public accept(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$a;->a:Lci/a;
invoke-interface {p1}, Lci/a;->run()V
return-void
.end method
@@ -0,0 +1,94 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$a0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lci/a;"
}
.end annotation
# instance fields
.field public final a:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Lai/d0<",
"TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/g;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"onNotification"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/g<",
"-",
"Lai/d0<",
"TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$a0;->a:Lci/g;
return-void
.end method
# virtual methods
.method public run()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$a0;->a:Lci/g;
invoke-static {}, Lai/d0;->a()Lai/d0;
move-result-object v1
invoke-interface {v0, v1}, Lci/g;->accept(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,176 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$b;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/c<",
"-TT1;-TT2;+TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/c;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$b;->a:Lci/c;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$b;->a:Lci/c;
const/4 v1, 0x0
aget-object v1, p1, v1
const/4 v2, 0x1
aget-object p1, p1, v2
invoke-interface {v0, v1, p1}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$b;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,130 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$b0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/g<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# instance fields
.field public final a:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Lai/d0<",
"TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/g;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"onNotification"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/g<",
"-",
"Lai/d0<",
"TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$b0;->a:Lci/g;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"v"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$b0;->a:Lci/g;
invoke-static {p1}, Lai/d0;->b(Ljava/lang/Throwable;)Lai/d0;
move-result-object p1
invoke-interface {v0, p1}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"v"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$b0;->a(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,182 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$c;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/h<",
"TT1;TT2;TT3;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/h;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$c;->a:Lci/h;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$c;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$c;->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/rxjava3/internal/functions/Functions$c0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/g<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lci/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/g<",
"-",
"Lai/d0<",
"TT;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/g;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"onNotification"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/g<",
"-",
"Lai/d0<",
"TT;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$c0;->a:Lci/g;
return-void
.end method
# virtual methods
.method public accept(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"v"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$c0;->a:Lci/g;
invoke-static {p1}, Lai/d0;->c(Ljava/lang/Object;)Lai/d0;
move-result-object p1
invoke-interface {v0, p1}, Lci/g;->accept(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,188 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$d;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/i;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/i<",
"TT1;TT2;TT3;TT4;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/i;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$d;->a:Lci/i;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$d;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$d;->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/rxjava3/internal/functions/Functions$d0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/s;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "d0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lci/s<",
"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 get()Ljava/lang/Object;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
@@ -0,0 +1,194 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$e;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/j;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/j<",
"TT1;TT2;TT3;TT4;TT5;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/j;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$e;->a:Lci/j;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 8
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$e;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$e;->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/rxjava3/internal/functions/Functions$e0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"error"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/exceptions/OnErrorNotImplementedException;
invoke-direct {v0, p1}, Lio/reactivex/rxjava3/exceptions/OnErrorNotImplementedException;-><init>(Ljava/lang/Throwable;)V
invoke-static {v0}, Lji/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"error"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$e0;->a(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,200 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$f;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/k<",
"TT1;TT2;TT3;TT4;TT5;TT6;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/k;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$f;->a:Lci/k;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 9
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$f;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$f;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,127 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$f0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "f0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lci/o<",
"TT;",
"Lki/d<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/TimeUnit;
.field public final b:Lai/o0;
# direct methods
.method public constructor <init>(Ljava/util/concurrent/TimeUnit;Lai/o0;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"unit",
"scheduler"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$f0;->a:Ljava/util/concurrent/TimeUnit;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/functions/Functions$f0;->b:Lai/o0;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)Lki/d;
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)",
"Lki/d<",
"TT;>;"
}
.end annotation
.line 1
new-instance v0, Lki/d;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$f0;->b:Lai/o0;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/functions/Functions$f0;->a:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v1, v2}, Lai/o0;->e(Ljava/util/concurrent/TimeUnit;)J
move-result-wide v1
iget-object v3, p0, Lio/reactivex/rxjava3/internal/functions/Functions$f0;->a:Ljava/util/concurrent/TimeUnit;
invoke-direct {v0, p1, v1, v2, v3}, Lki/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$f0;->a(Ljava/lang/Object;)Lki/d;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,206 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$g;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/l;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/l<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/l;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$g;->a:Lci/l;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 10
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$g;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$g;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,141 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$g0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "g0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lci/b<",
"Ljava/util/Map<",
"TK;TT;>;TT;>;"
}
.end annotation
# instance fields
.field public final a:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"keySelector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/o<",
"-TT;+TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$g0;->a:Lci/o;
return-void
.end method
# virtual methods
.method public a(Ljava/util/Map;Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"m",
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"TK;TT;>;TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$g0;->a:Lci/o;
invoke-interface {v0, p2}, Lci/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/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"m",
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/functions/Functions$g0;->a(Ljava/util/Map;Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,212 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$h;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/m<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/m;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$h;->a:Lci/m;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 11
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$h;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$h;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,166 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$h0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"V:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lci/b<",
"Ljava/util/Map<",
"TK;TV;>;TT;>;"
}
.end annotation
# instance fields
.field public final a:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+TV;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/o;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"valueSelector",
"keySelector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/o<",
"-TT;+TV;>;",
"Lci/o<",
"-TT;+TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$h0;->a:Lci/o;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/functions/Functions$h0;->b:Lci/o;
return-void
.end method
# virtual methods
.method public a(Ljava/util/Map;Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"m",
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"TK;TV;>;TT;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$h0;->b:Lci/o;
invoke-interface {v0, p2}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$h0;->a:Lci/o;
invoke-interface {v1, p2}, Lci/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/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"m",
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/functions/Functions$h0;->a(Ljava/util/Map;Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,218 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$i;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/o<",
"[",
"Ljava/lang/Object;",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lci/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/n<",
"TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TT9;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/n;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"f"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/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/rxjava3/internal/functions/Functions$i;->a:Lci/n;
return-void
.end method
# virtual methods
.method public a([Ljava/lang/Object;)Ljava/lang/Object;
.locals 12
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.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/rxjava3/internal/functions/Functions$i;->a:Lci/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}, Lci/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"a"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, [Ljava/lang/Object;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$i;->a([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,212 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$i0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/b<",
"Ljava/util/Map<",
"TK;",
"Ljava/util/Collection<",
"TV;>;>;TT;>;"
}
.end annotation
# instance fields
.field public final a:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TK;+",
"Ljava/util/Collection<",
"-TV;>;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+TV;>;"
}
.end annotation
.end field
.field public final c:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lci/o;Lci/o;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"collectionFactory",
"valueSelector",
"keySelector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lci/o<",
"-TK;+",
"Ljava/util/Collection<",
"-TV;>;>;",
"Lci/o<",
"-TT;+TV;>;",
"Lci/o<",
"-TT;+TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$i0;->a:Lci/o;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/functions/Functions$i0;->b:Lci/o;
.line 4
iput-object p3, p0, Lio/reactivex/rxjava3/internal/functions/Functions$i0;->c:Lci/o;
return-void
.end method
# virtual methods
.method public a(Ljava/util/Map;Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"m",
"t"
}
.end annotation
.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/Throwable;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$i0;->c:Lci/o;
invoke-interface {v0, p2}, Lci/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/rxjava3/internal/functions/Functions$i0;->a:Lci/o;
invoke-interface {v1, v0}, Lci/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/rxjava3/internal/functions/Functions$i0;->b:Lci/o;
invoke-interface {p1, p2}, Lci/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/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"m",
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/util/Map;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/functions/Functions$i0;->a(Ljava/util/Map;Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,93 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$j;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/s;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/s<",
"Ljava/util/List<",
"TT;>;>;"
}
.end annotation
# instance fields
.field public final a:I
# direct methods
.method public constructor <init>(I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"capacity"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput p1, p0, Lio/reactivex/rxjava3/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
.line 1
new-instance v0, Ljava/util/ArrayList;
iget v1, p0, Lio/reactivex/rxjava3/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 get()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/functions/Functions$j;->a()Ljava/util/List;
move-result-object v0
return-object v0
.end method
@@ -0,0 +1,55 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$j0;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/functions/Functions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "j0"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
const/4 p1, 0x1
return p1
.end method
@@ -0,0 +1,91 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$k;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/r<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lci/e;
# direct methods
.method public constructor <init>(Lci/e;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"supplier"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$k;->a:Lci/e;
return-void
.end method
# virtual methods
.method public test(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$k;->a:Lci/e;
invoke-interface {p1}, Lci/e;->getAsBoolean()Z
move-result p1
xor-int/lit8 p1, p1, 0x1
return p1
.end method
@@ -0,0 +1,100 @@
.class public Lio/reactivex/rxjava3/internal/functions/Functions$l;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/g<",
"Lok/e;",
">;"
}
.end annotation
# instance fields
.field public final a:I
# direct methods
.method public constructor <init>(I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"bufferSize"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput p1, p0, Lio/reactivex/rxjava3/internal/functions/Functions$l;->a:I
return-void
.end method
# virtual methods
.method public a(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
iget v0, p0, Lio/reactivex/rxjava3/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Lok/e;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$l;->a(Lok/e;)V
return-void
.end method
@@ -0,0 +1,100 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$m;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"clazz"
}
.end annotation
.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/rxjava3/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)TU;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/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,100 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$n;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"clazz"
}
.end annotation
.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/rxjava3/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/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/rxjava3/internal/functions/Functions$o;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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,61 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$p;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"v"
}
.end annotation
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "EmptyConsumer"
return-object v0
.end method
@@ -0,0 +1,44 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$q;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/q;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"v"
}
.end annotation
return-void
.end method
@@ -0,0 +1,44 @@
.class public final Lio/reactivex/rxjava3/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/rxjava3/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,95 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$s;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.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/rxjava3/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$s;->a:Ljava/lang/Object;
invoke-static {p1, v0}, Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,81 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$t;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"error"
}
.end annotation
.line 1
invoke-static {p1}, Lji/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"error"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$t;->a(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,55 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$u;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"o"
}
.end annotation
const/4 p1, 0x0
return p1
.end method
@@ -0,0 +1,76 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$v;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"future"
}
.end annotation
.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/rxjava3/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/rxjava3/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,62 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$w;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"v"
}
.end annotation
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,127 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$x;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
.implements Lci/s;
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;>;",
"Lci/s<",
"TU;>;",
"Lci/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.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/rxjava3/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)TU;"
}
.end annotation
.line 1
iget-object p1, p0, Lio/reactivex/rxjava3/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
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$x;->a:Ljava/lang/Object;
return-object v0
.end method
.method public get()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TU;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/functions/Functions$x;->a:Ljava/lang/Object;
return-object v0
.end method
@@ -0,0 +1,130 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$y;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"comparator"
}
.end annotation
.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/rxjava3/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"v"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"v"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/functions/Functions$y;->a(Ljava/util/List;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
@@ -0,0 +1,83 @@
.class public final Lio/reactivex/rxjava3/internal/functions/Functions$z;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lci/g;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.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/MethodParameters;
accessFlags = {
0x1000
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
check-cast p1, Lok/e;
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/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,61 @@
.class public final Lio/reactivex/rxjava3/internal/functions/a$a;
.super Ljava/lang/Object;
.source "ObjectHelper.java"
# interfaces
.implements Lci/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/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;",
"Lci/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
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"o1",
"o2"
}
.end annotation
.line 1
invoke-static {p1, p2}, Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method
@@ -0,0 +1,161 @@
.class public final Lio/reactivex/rxjava3/internal/functions/a;
.super Ljava/lang/Object;
.source "ObjectHelper.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/functions/a$a;
}
.end annotation
# static fields
.field public static final a:Lci/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/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/rxjava3/internal/functions/a$a;
invoke-direct {v0}, Lio/reactivex/rxjava3/internal/functions/a$a;-><init>()V
sput-object v0, Lio/reactivex/rxjava3/internal/functions/a;->a:Lci/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()Lci/d;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lci/d<",
"TT;TT;>;"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/rxjava3/internal/functions/a;->a:Lci/d;
return-object v0
.end method
.method public static b(ILjava/lang/String;)I
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"value",
"paramName"
}
.end annotation
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 c(JLjava/lang/String;)J
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"value",
"paramName"
}
.end annotation
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,335 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;
.super Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;
.source "FlowableCollectWithCollector.java"
# interfaces
.implements Lai/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CollectorSubscriber"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription<",
"TR;>;",
"Lai/r<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x32f81cea5e17c36L
# instance fields
.field public final accumulator:Ljava/util/function/BiConsumer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/BiConsumer<",
"TA;TT;>;"
}
.end annotation
.end field
.field public container:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
.field public done:Z
.field public final finisher:Ljava/util/function/Function;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/Function<",
"TA;TR;>;"
}
.end annotation
.end field
.field public upstream:Lok/e;
# direct methods
.method public constructor <init>(Lok/d;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"downstream",
"container",
"accumulator",
"finisher"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;TA;",
"Ljava/util/function/BiConsumer<",
"TA;TT;>;",
"Ljava/util/function/Function<",
"TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;-><init>(Lok/d;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->container:Ljava/lang/Object;
.line 3
iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->accumulator:Ljava/util/function/BiConsumer;
.line 4
iput-object p4, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->finisher:Ljava/util/function/Function;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 1
.line 1
invoke-super {p0}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->cancel()V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->upstream:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
return-void
.end method
.method public onComplete()V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->done:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->done:Z
.line 3
sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->upstream:Lok/e;
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->container:Ljava/lang/Object;
const/4 v1, 0x0
.line 5
iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->container:Ljava/lang/Object;
.line 6
:try_start_0
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->finisher:Ljava/util/function/Function;
invoke-interface {v1, v0}, Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The finisher returned a null value"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->complete(Ljava/lang/Object;)V
return-void
:catchall_0
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
iget-object v1, p0, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->downstream:Lok/d;
invoke-interface {v1, v0}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->done:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->done:Z
.line 4
sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->upstream:Lok/e;
const/4 v0, 0x0
.line 5
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->container:Ljava/lang/Object;
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->downstream:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->done:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->accumulator:Ljava/util/function/BiConsumer;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->container:Ljava/lang/Object;
invoke-interface {v0, v1, p1}, Ljava/util/function/BiConsumer;->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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->upstream:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 2
.param p1 # Lok/e;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->upstream:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;->upstream:Lok/e;
.line 3
iget-object v0, p0, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->downstream:Lok/d;
invoke-interface {v0, p0}, Lok/d;->onSubscribe(Lok/e;)V
const-wide v0, 0x7fffffffffffffffL
.line 4
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
:cond_0
return-void
.end method
@@ -0,0 +1,158 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;
.super Lai/m;
.source "FlowableCollectWithCollector.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TR;>;"
}
.end annotation
# instance fields
.field public final b:Lai/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/m<",
"TT;>;"
}
.end annotation
.end field
.field public final c:Ljava/util/stream/Collector;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/m;Ljava/util/stream/Collector;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"collector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/m<",
"TT;>;",
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;->b:Lai/m;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;->c:Ljava/util/stream/Collector;
return-void
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 5
.param p1 # Lok/d;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;->c:Ljava/util/stream/Collector;
invoke-interface {v0}, Ljava/util/stream/Collector;->supplier()Ljava/util/function/Supplier;
move-result-object v0
invoke-interface {v0}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
move-result-object v0
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;->c:Ljava/util/stream/Collector;
invoke-interface {v1}, Ljava/util/stream/Collector;->accumulator()Ljava/util/function/BiConsumer;
move-result-object v1
.line 3
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;->c:Ljava/util/stream/Collector;
invoke-interface {v2}, Ljava/util/stream/Collector;->finisher()Ljava/util/function/Function;
move-result-object v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 4
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;->b:Lai/m;
new-instance v4, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;
invoke-direct {v4, p1, v0, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector$CollectorSubscriber;-><init>(Lok/d;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
invoke-virtual {v3, v4}, Lai/m;->N6(Lai/r;)V
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
return-void
.end method
@@ -0,0 +1,889 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "FlowableFlatMapStream.java"
# interfaces
.implements Lai/r;
.implements Lok/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "FlatMapStreamSubscriber"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicInteger;",
"Lai/r<",
"TT;>;",
"Lok/e;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x4726e10af4c777c0L
# instance fields
.field public volatile cancelled:Z
.field public consumed:I
.field public currentCloseable:Ljava/lang/AutoCloseable;
.field public currentIterator:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"+TR;>;"
}
.end annotation
.end field
.field public final downstream:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TR;>;"
}
.end annotation
.end field
.field public emitted:J
.field public final error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
.field public final mapper:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
.field public final prefetch:I
.field public queue:Lei/q;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lei/q<",
"TT;>;"
}
.end annotation
.end field
.field public final requested:Ljava/util/concurrent/atomic/AtomicLong;
.field public sourceMode:I
.field public upstream:Lok/e;
.field public volatile upstreamDone:Z
# direct methods
.method public constructor <init>(Lok/d;Lci/o;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"downstream",
"mapper",
"prefetch"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;I)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->downstream:Lok/d;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->mapper:Lci/o;
.line 4
iput p3, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->prefetch:I
.line 5
new-instance p1, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->requested:Ljava/util/concurrent/atomic/AtomicLong;
.line 6
new-instance p1, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
invoke-direct {p1}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstream:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->drain()V
return-void
.end method
.method public clearCurrentRethrowCloseError()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->currentIterator:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->currentCloseable:Ljava/lang/AutoCloseable;
.line 3
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->currentCloseable:Ljava/lang/AutoCloseable;
if-eqz v1, :cond_0
.line 4
invoke-interface {v1}, Ljava/lang/AutoCloseable;->close()V
:cond_0
return-void
.end method
.method public clearCurrentSuppressCloseError()V
.locals 1
.line 1
:try_start_0
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->clearCurrentRethrowCloseError()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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public drain()V
.locals 17
move-object/from16 v1, p0
.line 1
invoke-virtual/range {p0 .. p0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
move-result v0
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
iget-object v2, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->downstream:Lok/d;
.line 3
iget-object v3, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->queue:Lei/q;
.line 4
iget-object v4, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
.line 5
iget-object v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->currentIterator:Ljava/util/Iterator;
.line 6
iget-object v5, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->requested:Ljava/util/concurrent/atomic/AtomicLong;
invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v5
.line 7
iget-wide v7, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->emitted:J
.line 8
iget v9, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->prefetch:I
shr-int/lit8 v10, v9, 0x2
sub-int/2addr v9, v10
.line 9
iget v10, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->sourceMode:I
const/4 v11, 0x0
const/4 v12, 0x1
if-eq v10, v12, :cond_1
move v10, v12
goto :goto_0
:cond_1
move v10, v11
:goto_0
move-wide v13, v7
move v8, v12
move-wide v6, v5
move-object v5, v0
.line 10
:goto_1
iget-boolean v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
if-eqz v0, :cond_2
.line 11
invoke-interface {v3}, Lei/q;->clear()V
.line 12
invoke-virtual/range {p0 .. p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->clearCurrentSuppressCloseError()V
goto/16 :goto_7
.line 13
:cond_2
iget-boolean v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstreamDone:Z
.line 14
invoke-virtual {v4}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v15
if-eqz v15, :cond_3
.line 15
invoke-virtual {v4}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Throwable;
invoke-interface {v2, v0}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 16
iput-boolean v12, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
goto/16 :goto_6
:cond_3
if-nez v5, :cond_8
.line 17
:try_start_0
invoke-interface {v3}, Lei/q;->poll()Ljava/lang/Object;
move-result-object v15
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
if-nez v15, :cond_4
move/from16 v16, v12
goto :goto_2
:cond_4
move/from16 v16, v11
:goto_2
if-eqz v0, :cond_5
if-eqz v16, :cond_5
.line 18
invoke-interface {v2}, Lok/d;->onComplete()V
.line 19
iput-boolean v12, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
goto :goto_4
:cond_5
if-nez v16, :cond_8
if-eqz v10, :cond_6
.line 20
iget v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->consumed:I
add-int/2addr v0, v12
iput v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->consumed:I
if-ne v0, v9, :cond_6
.line 21
iput v11, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->consumed:I
.line 22
iget-object v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstream:Lok/e;
int-to-long v11, v9
invoke-interface {v0, v11, v12}, Lok/e;->request(J)V
.line 23
:cond_6
:try_start_1
iget-object v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->mapper:Lci/o;
invoke-interface {v0, v15}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v11, "The mapper returned a null Stream"
invoke-static {v0, v11}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Ljava/util/stream/Stream;
.line 24
invoke-interface {v0}, Ljava/util/stream/Stream;->iterator()Ljava/util/Iterator;
move-result-object v5
.line 25
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
move-result v11
if-eqz v11, :cond_7
.line 26
iput-object v5, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->currentIterator:Ljava/util/Iterator;
.line 27
iput-object v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->currentCloseable:Ljava/lang/AutoCloseable;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_6
:cond_7
:goto_3
const/4 v5, 0x0
goto :goto_6
:catchall_0
move-exception v0
.line 28
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 29
invoke-virtual {v1, v2, v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->trySignalError(Lok/d;Ljava/lang/Throwable;)V
goto :goto_6
:catchall_1
move-exception v0
move-object v11, v0
.line 30
invoke-static {v11}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 31
invoke-virtual {v1, v2, v11}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->trySignalError(Lok/d;Ljava/lang/Throwable;)V
goto :goto_6
:cond_8
:goto_4
if-eqz v5, :cond_a
cmp-long v0, v13, v6
if-eqz v0, :cond_a
.line 32
:try_start_2
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
const-string v11, "The Stream.Iterator returned a null value"
invoke-static {v0, v11}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_4
.line 33
iget-boolean v11, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
if-nez v11, :cond_9
.line 34
invoke-interface {v2, v0}, Lok/d;->onNext(Ljava/lang/Object;)V
const-wide/16 v11, 0x1
add-long/2addr v13, v11
.line 35
iget-boolean v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
if-nez v0, :cond_9
.line 36
:try_start_3
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
move-result v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_3
if-nez v0, :cond_9
.line 37
:try_start_4
invoke-virtual/range {p0 .. p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->clearCurrentRethrowCloseError()V
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_2
goto :goto_3
:catchall_2
move-exception v0
const/4 v5, 0x0
goto :goto_5
:catchall_3
move-exception v0
.line 38
:goto_5
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 39
invoke-virtual {v1, v2, v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->trySignalError(Lok/d;Ljava/lang/Throwable;)V
goto :goto_6
:catchall_4
move-exception v0
.line 40
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 41
invoke-virtual {v1, v2, v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->trySignalError(Lok/d;Ljava/lang/Throwable;)V
:cond_9
:goto_6
const/4 v11, 0x0
const/4 v12, 0x1
goto/16 :goto_1
.line 42
:cond_a
:goto_7
iput-wide v13, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->emitted:J
neg-int v0, v8
.line 43
invoke-virtual {v1, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I
move-result v8
if-nez v8, :cond_b
return-void
.line 44
:cond_b
iget-object v0, v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->requested:Ljava/util/concurrent/atomic/AtomicLong;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v6
goto :goto_6
.end method
.method public onComplete()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstreamDone:Z
.line 2
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->drain()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
const/4 v1, 0x0
invoke-virtual {v0, v1, p1}, 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
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstreamDone:Z
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->drain()V
goto :goto_0
.line 4
:cond_0
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->sourceMode:I
const/4 v1, 0x2
if-eq v0, v1, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->queue:Lei/q;
invoke-interface {v0, p1}, Lei/q;->offer(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_0
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstream:Lok/e;
invoke-interface {p1}, Lok/e;->cancel()V
.line 4
new-instance p1, Lio/reactivex/rxjava3/exceptions/MissingBackpressureException;
const-string v0, "Queue full?!"
invoke-direct {p1, v0}, Lio/reactivex/rxjava3/exceptions/MissingBackpressureException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->onError(Ljava/lang/Throwable;)V
return-void
.line 5
:cond_0
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->drain()V
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 3
.param p1 # Lok/e;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstream:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_2
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstream:Lok/e;
.line 3
instance-of v0, p1, Lei/n;
if-eqz v0, :cond_1
.line 4
move-object v0, p1
check-cast v0, Lei/n;
const/4 v1, 0x7
.line 5
invoke-interface {v0, v1}, Lei/m;->requestFusion(I)I
move-result v1
const/4 v2, 0x1
if-ne v1, v2, :cond_0
.line 6
iput v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->sourceMode:I
.line 7
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->queue:Lei/q;
.line 8
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstreamDone:Z
.line 9
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->downstream:Lok/d;
invoke-interface {p1, p0}, Lok/d;->onSubscribe(Lok/e;)V
return-void
:cond_0
const/4 v2, 0x2
if-ne v1, v2, :cond_1
.line 10
iput v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->sourceMode:I
.line 11
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->queue:Lei/q;
.line 12
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->downstream:Lok/d;
invoke-interface {v0, p0}, Lok/d;->onSubscribe(Lok/e;)V
.line 13
iget v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->prefetch:I
int-to-long v0, v0
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
return-void
.line 14
:cond_1
new-instance v0, Lio/reactivex/rxjava3/internal/queue/SpscArrayQueue;
iget v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->prefetch:I
invoke-direct {v0, v1}, Lio/reactivex/rxjava3/internal/queue/SpscArrayQueue;-><init>(I)V
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->queue:Lei/q;
.line 15
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->downstream:Lok/d;
invoke-interface {v0, p0}, Lok/d;->onSubscribe(Lok/e;)V
.line 16
iget v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->prefetch:I
int-to-long v0, v0
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
:cond_2
return-void
.end method
.method public request(J)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.line 1
invoke-static {p1, p2}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(J)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->requested:Ljava/util/concurrent/atomic/AtomicLong;
invoke-static {v0, p1, p2}, Lio/reactivex/rxjava3/internal/util/b;->a(Ljava/util/concurrent/atomic/AtomicLong;J)J
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->drain()V
:cond_0
return-void
.end method
.method public trySignalError(Lok/d;Ljava/lang/Throwable;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"ex"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"*>;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
const/4 v1, 0x0
invoke-virtual {v0, v1, p2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->upstream:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;->cancelled:Z
.line 4
invoke-interface {p1, p2}, Lok/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 5
:cond_0
invoke-static {p2}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
@@ -0,0 +1,230 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;
.super Lai/m;
.source "FlowableFlatMapStream.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TR;>;"
}
.end annotation
# instance fields
.field public final b:Lai/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/m<",
"TT;>;"
}
.end annotation
.end field
.field public final c:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
.field public final d:I
# direct methods
.method public constructor <init>(Lai/m;Lci/o;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"source",
"mapper",
"prefetch"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/m<",
"TT;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;I)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->b:Lai/m;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->c:Lci/o;
.line 4
iput p3, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->d:I
return-void
.end method
.method public static n9(Lok/d;Lci/o;I)Lok/d;
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"downstream",
"mapper",
"prefetch"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">(",
"Lok/d<",
"-TR;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;I)",
"Lok/d<",
"TT;>;"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;
invoke-direct {v0, p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream$FlatMapStreamSubscriber;-><init>(Lok/d;Lci/o;I)V
return-object v0
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->b:Lai/m;
instance-of v1, v0, Lci/s;
if-eqz v1, :cond_2
const/4 v1, 0x0
.line 2
:try_start_0
check-cast v0, Lci/s;
invoke-interface {v0}, Lci/s;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
.line 3
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->c:Lci/o;
invoke-interface {v1, v0}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Stream"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-object v1, v0
check-cast v1, Ljava/util/stream/Stream;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
if-eqz v1, :cond_1
.line 4
invoke-static {p1, v1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->o9(Lok/d;Ljava/util/stream/Stream;)V
goto :goto_0
.line 5
:cond_1
invoke-static {p1}, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->complete(Lok/d;)V
goto :goto_0
:catchall_0
move-exception v0
.line 6
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 7
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
return-void
.line 8
:cond_2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->c:Lci/o;
iget v2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->d:I
invoke-static {p1, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->n9(Lok/d;Lci/o;I)Lok/d;
move-result-object p1
invoke-virtual {v0, p1}, Lai/m;->subscribe(Lok/d;)V
:goto_0
return-void
.end method
@@ -0,0 +1,109 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "FlowableFromCompletionStage.java"
# interfaces
.implements Ljava/util/function/BiConsumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "BiConsumerAtomicReference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;>;",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0xa2d9ebd55be4a9L
# 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 bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"t",
"u"
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Throwable;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;->accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
return-void
.end method
.method public accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"t",
"u"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
.line 2
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/function/BiConsumer;
if-eqz v0, :cond_0
.line 3
invoke-interface {v0, p1, p2}, Ljava/util/function/BiConsumer;->accept(Ljava/lang/Object;Ljava/lang/Object;)V
:cond_0
return-void
.end method
@@ -0,0 +1,173 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;
.super Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;
.source "FlowableFromCompletionStage.java"
# interfaces
.implements Ljava/util/function/BiConsumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CompletionStageHandler"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription<",
"TT;>;",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x40be9a11964812b3L
# instance fields
.field public final whenReference:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lok/d;Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"whenReference"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;",
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;-><init>(Lok/d;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;->whenReference:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
return-void
.end method
# virtual methods
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"item",
"error"
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Throwable;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;->accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
return-void
.end method
.method public accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"item",
"error"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
if-eqz p2, :cond_0
.line 2
iget-object p1, p0, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->downstream:Lok/d;
invoke-interface {p1, p2}, Lok/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
if-eqz p1, :cond_1
.line 3
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->complete(Ljava/lang/Object;)V
goto :goto_0
.line 4
:cond_1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->downstream:Lok/d;
new-instance p2, Ljava/lang/NullPointerException;
const-string v0, "The CompletionStage terminated with null."
invoke-direct {p2, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-interface {p1, p2}, Lok/d;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public cancel()V
.locals 2
.line 1
invoke-super {p0}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->cancel()V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;->whenReference:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,108 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage;
.super Lai/m;
.source "FlowableFromCompletionStage.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;,
Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TT;>;"
}
.end annotation
# instance fields
.field public final b:Ljava/util/concurrent/CompletionStage;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CompletionStage<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/CompletionStage;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"stage"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/CompletionStage<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage;->b:Ljava/util/concurrent/CompletionStage;
return-void
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;)V"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
invoke-direct {v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;-><init>()V
.line 2
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;
invoke-direct {v1, p1, v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$CompletionStageHandler;-><init>(Lok/d;Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;)V
.line 3
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 4
invoke-interface {p1, v1}, Lok/d;->onSubscribe(Lok/e;)V
.line 5
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage;->b:Ljava/util/concurrent/CompletionStage;
invoke-interface {p1, v0}, Ljava/util/concurrent/CompletionStage;->whenComplete(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
return-void
.end method
@@ -0,0 +1,370 @@
.class abstract Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;
.super Ljava/util/concurrent/atomic/AtomicLong;
.source "FlowableFromStream.java"
# interfaces
.implements Lei/n;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "AbstractStreamSubscription"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicLong;",
"Lei/n<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x7e0d232dac4fd48dL
# instance fields
.field public volatile cancelled:Z
.field public closeable:Ljava/lang/AutoCloseable;
.field public iterator:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.end field
.field public once:Z
# direct methods
.method public constructor <init>(Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"iterator",
"closeable"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Iterator<",
"TT;>;",
"Ljava/lang/AutoCloseable;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->closeable:Ljava/lang/AutoCloseable;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 2
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
const-wide/16 v0, 0x1
.line 2
invoke-virtual {p0, v0, v1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->request(J)V
return-void
.end method
.method public clear()V
.locals 2
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->closeable:Ljava/lang/AutoCloseable;
.line 3
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->closeable:Ljava/lang/AutoCloseable;
if-eqz v1, :cond_0
.line 4
invoke-static {v1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->n9(Ljava/lang/AutoCloseable;)V
:cond_0
return-void
.end method
.method public isEmpty()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
if-eqz v0, :cond_2
.line 2
iget-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->once:Z
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 3
:cond_0
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->clear()V
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x0
return v0
:cond_2
:goto_1
const/4 v0, 0x1
return v0
.end method
.method public offer(Ljava/lang/Object;)Z
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public offer(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"v1",
"v2"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)Z"
}
.end annotation
.line 2
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
const/4 v1, 0x0
if-nez v0, :cond_0
return-object v1
.line 2
:cond_0
iget-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->once:Z
if-nez v2, :cond_1
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->once:Z
goto :goto_0
.line 4
:cond_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_2
.line 5
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->clear()V
return-object v1
.line 6
:cond_2
:goto_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
const-string v1, "The Stream\'s Iterator.next() returned a null value"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
return-object v0
.end method
.method public request(J)V
.locals 4
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.line 1
invoke-static {p1, p2}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(J)Z
move-result v0
if-eqz v0, :cond_0
.line 2
invoke-static {p0, p1, p2}, Lio/reactivex/rxjava3/internal/util/b;->a(Ljava/util/concurrent/atomic/AtomicLong;J)J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v0, v0, v2
if-nez v0, :cond_0
.line 3
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->run(J)V
:cond_0
return-void
.end method
.method public requestFusion(I)I
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
const/4 v0, 0x1
and-int/2addr p1, v0
if-eqz p1, :cond_0
const-wide v1, 0x7fffffffffffffffL
.line 1
invoke-virtual {p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->lazySet(J)V
return v0
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public abstract run(J)V
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.end method
@@ -0,0 +1,229 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamConditionalSubscription;
.super Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;
.source "FlowableFromStream.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "StreamConditionalSubscription"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x7e0d232dac4fd48dL
# instance fields
.field public final downstream:Lei/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lei/c<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lei/c;Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"downstream",
"iterator",
"closeable"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lei/c<",
"-TT;>;",
"Ljava/util/Iterator<",
"TT;>;",
"Ljava/lang/AutoCloseable;",
")V"
}
.end annotation
.line 1
invoke-direct {p0, p2, p3}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;-><init>(Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamConditionalSubscription;->downstream:Lei/c;
return-void
.end method
# virtual methods
.method public run(J)V
.locals 9
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamConditionalSubscription;->downstream:Lei/c;
const-wide/16 v2, 0x0
move-wide v4, v2
.line 3
:cond_0
:goto_0
iget-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
if-eqz v6, :cond_1
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->clear()V
goto :goto_1
:cond_1
const/4 v6, 0x1
.line 5
:try_start_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v7
const-string v8, "The Stream\'s Iterator returned a null value"
invoke-static {v7, v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 6
invoke-interface {v1, v7}, Lei/c;->tryOnNext(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_2
const-wide/16 v7, 0x1
add-long/2addr v4, v7
.line 7
:cond_2
iget-boolean v7, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
if-eqz v7, :cond_3
goto :goto_0
.line 8
:cond_3
:try_start_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v7
if-nez v7, :cond_4
.line 9
invoke-interface {v1}, Lok/d;->onComplete()V
.line 10
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:cond_4
cmp-long v6, v4, p1
if-eqz v6, :cond_5
goto :goto_0
.line 11
:cond_5
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide p1
cmp-long v6, v4, p1
if-nez v6, :cond_0
.line 12
invoke-virtual {p0, p1, p2, v2, v3}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
move-result p1
if-eqz p1, :cond_6
:goto_1
return-void
.line 13
:cond_6
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide p1
goto :goto_0
:catchall_0
move-exception v7
.line 14
invoke-static {v7}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 15
invoke-interface {v1, v7}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 16
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
goto :goto_0
:catchall_1
move-exception v7
.line 17
invoke-static {v7}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 18
invoke-interface {v1, v7}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 19
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
goto :goto_0
.end method
@@ -0,0 +1,224 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamSubscription;
.super Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;
.source "FlowableFromStream.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "StreamSubscription"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x7e0d232dac4fd48dL
# instance fields
.field public final downstream:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lok/d;Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"downstream",
"iterator",
"closeable"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;",
"Ljava/util/Iterator<",
"TT;>;",
"Ljava/lang/AutoCloseable;",
")V"
}
.end annotation
.line 1
invoke-direct {p0, p2, p3}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;-><init>(Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamSubscription;->downstream:Lok/d;
return-void
.end method
# virtual methods
.method public run(J)V
.locals 9
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->iterator:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamSubscription;->downstream:Lok/d;
const-wide/16 v2, 0x0
move-wide v4, v2
.line 3
:cond_0
:goto_0
iget-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
if-eqz v6, :cond_1
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->clear()V
goto :goto_1
:cond_1
const/4 v6, 0x1
.line 5
:try_start_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v7
const-string v8, "The Stream\'s Iterator returned a null value"
invoke-static {v7, v8}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 6
invoke-interface {v1, v7}, Lok/d;->onNext(Ljava/lang/Object;)V
.line 7
iget-boolean v7, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
if-eqz v7, :cond_2
goto :goto_0
.line 8
:cond_2
:try_start_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v7
if-nez v7, :cond_3
.line 9
invoke-interface {v1}, Lok/d;->onComplete()V
.line 10
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:cond_3
const-wide/16 v6, 0x1
add-long/2addr v4, v6
cmp-long v6, v4, p1
if-eqz v6, :cond_4
goto :goto_0
.line 11
:cond_4
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide p1
cmp-long v6, v4, p1
if-nez v6, :cond_0
.line 12
invoke-virtual {p0, p1, p2, v2, v3}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
move-result p1
if-eqz p1, :cond_5
:goto_1
return-void
.line 13
:cond_5
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide p1
goto :goto_0
:catchall_0
move-exception v7
.line 14
invoke-static {v7}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 15
invoke-interface {v1, v7}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 16
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
goto :goto_0
:catchall_1
move-exception v7
.line 17
invoke-static {v7}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 18
invoke-interface {v1, v7}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 19
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;->cancelled:Z
goto :goto_0
.end method
@@ -0,0 +1,218 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;
.super Lai/m;
.source "FlowableFromStream.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamConditionalSubscription;,
Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamSubscription;,
Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$AbstractStreamSubscription;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TT;>;"
}
.end annotation
# instance fields
.field public final b:Ljava/util/stream/Stream;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Stream<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/stream/Stream;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"stream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/Stream<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->b:Ljava/util/stream/Stream;
return-void
.end method
.method public static n9(Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"c"
}
.end annotation
.line 1
:try_start_0
invoke-interface {p0}, Ljava/lang/AutoCloseable;->close()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p0
.line 2
invoke-static {p0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {p0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public static o9(Lok/d;Ljava/util/stream/Stream;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"s",
"stream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lok/d<",
"-TT;>;",
"Ljava/util/stream/Stream<",
"TT;>;)V"
}
.end annotation
.line 1
:try_start_0
invoke-interface {p1}, Ljava/util/stream/Stream;->iterator()Ljava/util/Iterator;
move-result-object v0
.line 2
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_0
.line 3
invoke-static {p0}, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->complete(Lok/d;)V
.line 4
invoke-static {p1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->n9(Ljava/lang/AutoCloseable;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
.line 5
:cond_0
instance-of v1, p0, Lei/c;
if-eqz v1, :cond_1
.line 6
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamConditionalSubscription;
move-object v2, p0
check-cast v2, Lei/c;
invoke-direct {v1, v2, v0, p1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamConditionalSubscription;-><init>(Lei/c;Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
invoke-interface {p0, v1}, Lok/d;->onSubscribe(Lok/e;)V
goto :goto_0
.line 7
:cond_1
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamSubscription;
invoke-direct {v1, p0, v0, p1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream$StreamSubscription;-><init>(Lok/d;Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
invoke-interface {p0, v1}, Lok/d;->onSubscribe(Lok/e;)V
:goto_0
return-void
:catchall_0
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
invoke-static {v0, p0}, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
.line 10
invoke-static {p1}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->n9(Ljava/lang/AutoCloseable;)V
return-void
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->b:Ljava/util/stream/Stream;
invoke-static {p1, v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromStream;->o9(Lok/d;Ljava/util/stream/Stream;)V
return-void
.end method
@@ -0,0 +1,709 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;
.super Lio/reactivex/rxjava3/internal/subscriptions/BasicIntQueueSubscription;
.source "MaybeFlattenStreamAsFlowable.java"
# interfaces
.implements Lai/y;
.implements Lai/s0;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "FlattenStreamMultiObserver"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/subscriptions/BasicIntQueueSubscription<",
"TR;>;",
"Lai/y<",
"TT;>;",
"Lai/s0<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x662fd31506471dfbL
# instance fields
.field public volatile cancelled:Z
.field public close:Ljava/lang/AutoCloseable;
.field public final downstream:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TR;>;"
}
.end annotation
.end field
.field public emitted:J
.field public volatile iterator:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"+TR;>;"
}
.end annotation
.end field
.field public final mapper:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
.field public once:Z
.field public outputFused:Z
.field public final requested:Ljava/util/concurrent/atomic/AtomicLong;
.field public upstream:Lio/reactivex/rxjava3/disposables/c;
# direct methods
.method public constructor <init>(Lok/d;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/subscriptions/BasicIntQueueSubscription;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->mapper:Lci/o;
.line 4
new-instance p1, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->requested:Ljava/util/concurrent/atomic/AtomicLong;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 3
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->outputFused:Z
if-nez v0, :cond_0
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->drain()V
:cond_0
return-void
.end method
.method public clear()V
.locals 2
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->close:Ljava/lang/AutoCloseable;
.line 3
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->close:Ljava/lang/AutoCloseable;
.line 4
invoke-virtual {p0, v1}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->close(Ljava/lang/AutoCloseable;)V
return-void
.end method
.method public close(Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"c"
}
.end annotation
if-eqz p1, :cond_0
.line 1
:try_start_0
invoke-interface {p1}, Ljava/lang/AutoCloseable;->close()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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public drain()V
.locals 10
.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
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
.line 3
iget-wide v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->emitted:J
.line 4
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->requested:Ljava/util/concurrent/atomic/AtomicLong;
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v3
.line 5
iget-object v5, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
const/4 v6, 0x1
move v7, v6
.line 6
:cond_1
:goto_0
iget-boolean v8, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
if-eqz v8, :cond_2
.line 7
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->clear()V
goto :goto_1
.line 8
:cond_2
iget-boolean v8, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->outputFused:Z
if-eqz v8, :cond_3
if-eqz v5, :cond_7
const/4 v3, 0x0
.line 9
invoke-interface {v0, v3}, Lok/d;->onNext(Ljava/lang/Object;)V
.line 10
invoke-interface {v0}, Lok/d;->onComplete()V
goto :goto_1
:cond_3
if-eqz v5, :cond_7
cmp-long v8, v1, v3
if-eqz v8, :cond_7
.line 11
:try_start_0
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v8
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 12
iget-boolean v9, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
if-eqz v9, :cond_4
goto :goto_0
.line 13
:cond_4
invoke-interface {v0, v8}, Lok/d;->onNext(Ljava/lang/Object;)V
const-wide/16 v8, 0x1
add-long/2addr v1, v8
.line 14
iget-boolean v8, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
if-eqz v8, :cond_5
goto :goto_0
.line 15
:cond_5
:try_start_1
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
move-result v8
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 16
iget-boolean v9, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
if-eqz v9, :cond_6
goto :goto_0
:cond_6
if-nez v8, :cond_1
.line 17
invoke-interface {v0}, Lok/d;->onComplete()V
.line 18
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
goto :goto_0
:catchall_0
move-exception v8
.line 19
invoke-static {v8}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 20
invoke-interface {v0, v8}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 21
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
goto :goto_0
:catchall_1
move-exception v8
.line 22
invoke-static {v8}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 23
invoke-interface {v0, v8}, Lok/d;->onError(Ljava/lang/Throwable;)V
.line 24
iput-boolean v6, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->cancelled:Z
goto :goto_0
.line 25
:cond_7
:goto_1
iput-wide v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->emitted:J
neg-int v3, v7
.line 26
invoke-virtual {p0, v3}, Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I
move-result v7
if-nez v7, :cond_8
return-void
.line 27
:cond_8
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->requested:Ljava/util/concurrent/atomic/AtomicLong;
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v3
if-nez v5, :cond_1
.line 28
iget-object v5, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
goto :goto_0
.end method
.method public isEmpty()Z
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
if-eqz v0, :cond_2
.line 2
iget-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->once:Z
const/4 v2, 0x0
if-nez v1, :cond_0
return v2
.line 3
:cond_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
return v2
.line 4
:cond_1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->clear()V
:cond_2
const/4 v0, 0x1
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.param p1 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
invoke-interface {p1, p0}, Lok/d;->onSubscribe(Lok/e;)V
:cond_0
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 2
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->mapper:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null Stream"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/stream/Stream;
.line 2
invoke-interface {p1}, Ljava/util/stream/Stream;->iterator()Ljava/util/Iterator;
move-result-object v0
.line 3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_0
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->close(Ljava/lang/AutoCloseable;)V
return-void
.line 6
:cond_0
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
.line 7
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->close:Ljava/lang/AutoCloseable;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 8
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->drain()V
return-void
:catchall_0
move-exception p1
.line 9
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 10
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->downstream:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
const/4 v1, 0x0
if-eqz v0, :cond_2
.line 2
iget-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->once:Z
if-eqz v2, :cond_0
.line 3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_1
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->clear()V
return-object v1
:cond_0
const/4 v1, 0x1
.line 5
iput-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->once:Z
.line 6
:cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
return-object v0
:cond_2
return-object v1
.end method
.method public request(J)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.line 1
invoke-static {p1, p2}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(J)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->requested:Ljava/util/concurrent/atomic/AtomicLong;
invoke-static {v0, p1, p2}, Lio/reactivex/rxjava3/internal/util/b;->a(Ljava/util/concurrent/atomic/AtomicLong;J)J
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->drain()V
:cond_0
return-void
.end method
.method public requestFusion(I)I
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
const/4 v0, 0x2
and-int/2addr p1, v0
if-eqz p1, :cond_0
const/4 p1, 0x1
.line 1
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;->outputFused:Z
return v0
:cond_0
const/4 p1, 0x0
return p1
.end method
@@ -0,0 +1,123 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable;
.super Lai/m;
.source "MaybeFlattenStreamAsFlowable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TR;>;"
}
.end annotation
# instance fields
.field public final b:Lai/v;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/v<",
"TT;>;"
}
.end annotation
.end field
.field public final c:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/v;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/v<",
"TT;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable;->b:Lai/v;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable;->c:Lci/o;
return-void
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 3
.param p1 # Lok/d;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable;->b:Lai/v;
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable;->c:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsFlowable$FlattenStreamMultiObserver;-><init>(Lok/d;Lci/o;)V
invoke-virtual {v0, v1}, Lai/v;->b(Lai/y;)V
return-void
.end method
@@ -0,0 +1,634 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;
.super Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable;
.source "MaybeFlattenStreamAsObservable.java"
# interfaces
.implements Lai/y;
.implements Lai/s0;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "FlattenStreamMultiObserver"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable<",
"TR;>;",
"Lai/y<",
"TT;>;",
"Lai/s0<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x662fd31506471dfbL
# instance fields
.field public close:Ljava/lang/AutoCloseable;
.field public volatile disposed:Z
.field public final downstream:Lai/n0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/n0<",
"-TR;>;"
}
.end annotation
.end field
.field public volatile iterator:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"+TR;>;"
}
.end annotation
.end field
.field public final mapper:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
.field public once:Z
.field public outputFused:Z
.field public upstream:Lio/reactivex/rxjava3/disposables/c;
# direct methods
.method public constructor <init>(Lai/n0;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/observers/BasicIntQueueDisposable;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->mapper:Lci/o;
return-void
.end method
# virtual methods
.method public clear()V
.locals 2
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->close:Ljava/lang/AutoCloseable;
.line 3
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->close:Ljava/lang/AutoCloseable;
.line 4
invoke-virtual {p0, v1}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->close(Ljava/lang/AutoCloseable;)V
return-void
.end method
.method public close(Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"c"
}
.end annotation
if-eqz p1, :cond_0
.line 1
:try_start_0
invoke-interface {p1}, Ljava/lang/AutoCloseable;->close()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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public dispose()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 3
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->outputFused:Z
if-nez v0, :cond_0
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->drain()V
:cond_0
return-void
.end method
.method public drain()V
.locals 6
.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
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
.line 3
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
const/4 v2, 0x1
move v3, v2
.line 4
:cond_1
:goto_0
iget-boolean v4, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
if-eqz v4, :cond_2
.line 5
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->clear()V
goto :goto_1
.line 6
:cond_2
iget-boolean v4, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->outputFused:Z
if-eqz v4, :cond_3
const/4 v4, 0x0
.line 7
invoke-interface {v0, v4}, Lai/n0;->onNext(Ljava/lang/Object;)V
.line 8
invoke-interface {v0}, Lai/n0;->onComplete()V
:goto_1
neg-int v3, v3
.line 9
invoke-virtual {p0, v3}, Ljava/util/concurrent/atomic/AtomicInteger;->addAndGet(I)I
move-result v3
if-nez v3, :cond_1
return-void
.line 10
:cond_3
:try_start_0
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 11
iget-boolean v5, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
if-eqz v5, :cond_4
goto :goto_0
.line 12
:cond_4
invoke-interface {v0, v4}, Lai/n0;->onNext(Ljava/lang/Object;)V
.line 13
iget-boolean v4, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
if-eqz v4, :cond_5
goto :goto_0
.line 14
:cond_5
:try_start_1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v4
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 15
iget-boolean v5, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
if-eqz v5, :cond_6
goto :goto_0
:cond_6
if-nez v4, :cond_1
.line 16
invoke-interface {v0}, Lai/n0;->onComplete()V
.line 17
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
goto :goto_0
:catchall_0
move-exception v4
.line 18
invoke-static {v4}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 19
invoke-interface {v0, v4}, Lai/n0;->onError(Ljava/lang/Throwable;)V
.line 20
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
goto :goto_0
:catchall_1
move-exception v4
.line 21
invoke-static {v4}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 22
invoke-interface {v0, v4}, Lai/n0;->onError(Ljava/lang/Throwable;)V
.line 23
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
goto :goto_0
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->disposed:Z
return v0
.end method
.method public isEmpty()Z
.locals 3
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
if-eqz v0, :cond_2
.line 2
iget-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->once:Z
const/4 v2, 0x0
if-nez v1, :cond_0
return v2
.line 3
:cond_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
return v2
.line 4
:cond_1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->clear()V
:cond_2
const/4 v0, 0x1
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
invoke-interface {v0}, Lai/n0;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.param p1 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
invoke-interface {v0, p1}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
invoke-interface {p1, p0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:cond_0
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 2
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->mapper:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null Stream"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/stream/Stream;
.line 2
invoke-interface {p1}, Ljava/util/stream/Stream;->iterator()Ljava/util/Iterator;
move-result-object v0
.line 3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_0
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
invoke-interface {v0}, Lai/n0;->onComplete()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->close(Ljava/lang/AutoCloseable;)V
return-void
.line 6
:cond_0
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
.line 7
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->close:Ljava/lang/AutoCloseable;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 8
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->drain()V
return-void
:catchall_0
move-exception p1
.line 9
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 10
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->downstream:Lai/n0;
invoke-interface {v0, p1}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->iterator:Ljava/util/Iterator;
const/4 v1, 0x0
if-eqz v0, :cond_2
.line 2
iget-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->once:Z
if-eqz v2, :cond_0
.line 3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_1
.line 4
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->clear()V
return-object v1
:cond_0
const/4 v1, 0x1
.line 5
iput-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->once:Z
.line 6
:cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
return-object v0
:cond_2
return-object v1
.end method
.method public requestFusion(I)I
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
const/4 v0, 0x2
and-int/2addr p1, v0
if-eqz p1, :cond_0
const/4 p1, 0x1
.line 1
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;->outputFused:Z
return v0
:cond_0
const/4 p1, 0x0
return p1
.end method
@@ -0,0 +1,123 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable;
.super Lai/g0;
.source "MaybeFlattenStreamAsObservable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/g0<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/v;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/v<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/v;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/v<",
"TT;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/g0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable;->a:Lai/v;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable;->b:Lci/o;
return-void
.end method
# virtual methods
.method public l6(Lai/n0;)V
.locals 3
.param p1 # Lai/n0;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable;->a:Lai/v;
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable;->b:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/MaybeFlattenStreamAsObservable$FlattenStreamMultiObserver;-><init>(Lai/n0;Lci/o;)V
invoke-virtual {v0, v1}, Lai/v;->b(Lai/y;)V
return-void
.end method
@@ -0,0 +1,330 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;
.super Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;
.source "ObservableCollectWithCollector.java"
# interfaces
.implements Lai/n0;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CollectorObserver"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable<",
"TR;>;",
"Lai/n0<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x32f81cea5e17c36L
# instance fields
.field public final accumulator:Ljava/util/function/BiConsumer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/BiConsumer<",
"TA;TT;>;"
}
.end annotation
.end field
.field public container:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
.field public done:Z
.field public final finisher:Ljava/util/function/Function;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/Function<",
"TA;TR;>;"
}
.end annotation
.end field
.field public upstream:Lio/reactivex/rxjava3/disposables/c;
# direct methods
.method public constructor <init>(Lai/n0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"downstream",
"container",
"accumulator",
"finisher"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;TA;",
"Ljava/util/function/BiConsumer<",
"TA;TT;>;",
"Ljava/util/function/Function<",
"TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;-><init>(Lai/n0;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->container:Ljava/lang/Object;
.line 3
iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->accumulator:Ljava/util/function/BiConsumer;
.line 4
iput-object p4, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->finisher:Ljava/util/function/Function;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
invoke-super {p0}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->dispose()V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
return-void
.end method
.method public onComplete()V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->done:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->done:Z
.line 3
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->container:Ljava/lang/Object;
const/4 v1, 0x0
.line 5
iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->container:Ljava/lang/Object;
.line 6
:try_start_0
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->finisher:Ljava/util/function/Function;
invoke-interface {v1, v0}, Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The finisher returned a null value"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->complete(Ljava/lang/Object;)V
return-void
:catchall_0
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
iget-object v1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {v1, v0}, Lai/n0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->done:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->done:Z
.line 4
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
const/4 v0, 0x0
.line 5
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->container:Ljava/lang/Object;
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {v0, p1}, Lai/n0;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->done:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->accumulator:Ljava/util/function/BiConsumer;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->container:Ljava/lang/Object;
invoke-interface {v0, v1, p1}, Ljava/util/function/BiConsumer;->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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {p1, p0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:cond_0
return-void
.end method
@@ -0,0 +1,158 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;
.super Lai/g0;
.source "ObservableCollectWithCollector.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/g0<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/g0<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Ljava/util/stream/Collector;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/g0;Ljava/util/stream/Collector;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"collector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/g0<",
"TT;>;",
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/g0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;->a:Lai/g0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;->b:Ljava/util/stream/Collector;
return-void
.end method
# virtual methods
.method public l6(Lai/n0;)V
.locals 5
.param p1 # Lai/n0;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;->b:Ljava/util/stream/Collector;
invoke-interface {v0}, Ljava/util/stream/Collector;->supplier()Ljava/util/function/Supplier;
move-result-object v0
invoke-interface {v0}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
move-result-object v0
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;->b:Ljava/util/stream/Collector;
invoke-interface {v1}, Ljava/util/stream/Collector;->accumulator()Ljava/util/function/BiConsumer;
move-result-object v1
.line 3
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;->b:Ljava/util/stream/Collector;
invoke-interface {v2}, Ljava/util/stream/Collector;->finisher()Ljava/util/function/Function;
move-result-object v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 4
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;->a:Lai/g0;
new-instance v4, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;
invoke-direct {v4, p1, v0, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector$CollectorObserver;-><init>(Lai/n0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
invoke-virtual {v3, v4}, Lai/g0;->subscribe(Lai/n0;)V
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lai/n0;)V
return-void
.end method
@@ -0,0 +1,394 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "ObservableFlatMapStream.java"
# interfaces
.implements Lai/n0;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "FlatMapStreamObserver"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicInteger;",
"Lai/n0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x4726e10af4c777c0L
# instance fields
.field public volatile disposed:Z
.field public done:Z
.field public final downstream:Lai/n0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/n0<",
"-TR;>;"
}
.end annotation
.end field
.field public final mapper:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
.field public upstream:Lio/reactivex/rxjava3/disposables/c;
# direct methods
.method public constructor <init>(Lai/n0;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->downstream:Lai/n0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->mapper:Lci/o;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->disposed:Z
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->disposed:Z
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
if-nez v0, :cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
.line 3
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->downstream:Lai/n0;
invoke-interface {v0}, Lai/n0;->onComplete()V
:cond_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.param p1 # Ljava/lang/Throwable;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->downstream:Lai/n0;
invoke-interface {v0, p1}, Lai/n0;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 4
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->mapper:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null Stream"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/stream/Stream;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_3
.line 3
:try_start_1
invoke-interface {p1}, Ljava/util/stream/Stream;->iterator()Ljava/util/Iterator;
move-result-object v0
.line 4
:cond_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_4
.line 5
iget-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->disposed:Z
const/4 v2, 0x1
if-eqz v1, :cond_2
.line 6
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
goto :goto_0
.line 7
:cond_2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
const-string v3, "The Stream\'s Iterator.next returned a null value"
invoke-static {v1, v3}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 8
iget-boolean v3, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->disposed:Z
if-eqz v3, :cond_3
.line 9
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
goto :goto_0
.line 10
:cond_3
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->downstream:Lai/n0;
invoke-interface {v3, v1}, Lai/n0;->onNext(Ljava/lang/Object;)V
.line 11
iget-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->disposed:Z
if-eqz v1, :cond_1
.line 12
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->done:Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 13
:cond_4
:goto_0
:try_start_2
invoke-interface {p1}, Ljava/util/stream/Stream;->close()V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_3
goto :goto_2
:catchall_0
move-exception v0
.line 14
:try_start_3
throw v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:catchall_1
move-exception v1
.line 15
:try_start_4
invoke-interface {p1}, Ljava/util/stream/Stream;->close()V
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_2
goto :goto_1
:catchall_2
move-exception p1
:try_start_5
invoke-virtual {v0, p1}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
:goto_1
throw v1
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
:catchall_3
move-exception p1
.line 16
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 17
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 18
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->onError(Ljava/lang/Throwable;)V
:goto_2
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->upstream:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;->downstream:Lai/n0;
invoke-interface {p1, p0}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:cond_0
return-void
.end method
@@ -0,0 +1,180 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;
.super Lai/g0;
.source "ObservableFlatMapStream.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/g0<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/g0<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/g0;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/g0<",
"TT;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/g0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;->a:Lai/g0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;->b:Lci/o;
return-void
.end method
# virtual methods
.method public l6(Lai/n0;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;->a:Lai/g0;
instance-of v1, v0, Lci/s;
if-eqz v1, :cond_2
const/4 v1, 0x0
.line 2
:try_start_0
check-cast v0, Lci/s;
invoke-interface {v0}, Lci/s;->get()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_0
.line 3
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;->b:Lci/o;
invoke-interface {v1, v0}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Stream"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-object v1, v0
check-cast v1, Ljava/util/stream/Stream;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
if-eqz v1, :cond_1
.line 4
invoke-static {p1, v1}, Lio/reactivex/rxjava3/internal/jdk8/m;->J8(Lai/n0;Ljava/util/stream/Stream;)V
goto :goto_0
.line 5
:cond_1
invoke-static {p1}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->complete(Lai/n0;)V
goto :goto_0
:catchall_0
move-exception v0
.line 6
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 7
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lai/n0;)V
return-void
.line 8
:cond_2
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream;->b:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/ObservableFlatMapStream$FlatMapStreamObserver;-><init>(Lai/n0;Lci/o;)V
invoke-virtual {v0, v1}, Lai/g0;->subscribe(Lai/n0;)V
:goto_0
return-void
.end method
@@ -0,0 +1,109 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ObservableFromCompletionStage.java"
# interfaces
.implements Ljava/util/function/BiConsumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "BiConsumerAtomicReference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;>;",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0xa2d9ebd55be4a9L
# 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 bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"t",
"u"
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Throwable;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;->accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
return-void
.end method
.method public accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"t",
"u"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
.line 2
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/function/BiConsumer;
if-eqz v0, :cond_0
.line 3
invoke-interface {v0, p1, p2}, Ljava/util/function/BiConsumer;->accept(Ljava/lang/Object;Ljava/lang/Object;)V
:cond_0
return-void
.end method
@@ -0,0 +1,173 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;
.super Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;
.source "ObservableFromCompletionStage.java"
# interfaces
.implements Ljava/util/function/BiConsumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CompletionStageHandler"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable<",
"TT;>;",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x40be9a11964812b3L
# instance fields
.field public final whenReference:Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/n0;Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"whenReference"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TT;>;",
"Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;-><init>(Lai/n0;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;->whenReference:Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;
return-void
.end method
# virtual methods
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"item",
"error"
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Throwable;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;->accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
return-void
.end method
.method public accept(Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"item",
"error"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
if-eqz p2, :cond_0
.line 2
iget-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
invoke-interface {p1, p2}, Lai/n0;->onError(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
if-eqz p1, :cond_1
.line 3
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->complete(Ljava/lang/Object;)V
goto :goto_0
.line 4
:cond_1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->downstream:Lai/n0;
new-instance p2, Ljava/lang/NullPointerException;
const-string v0, "The CompletionStage terminated with null."
invoke-direct {p2, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
invoke-interface {p1, p2}, Lai/n0;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public dispose()V
.locals 2
.line 1
invoke-super {p0}, Lio/reactivex/rxjava3/internal/observers/DeferredScalarDisposable;->dispose()V
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;->whenReference:Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
return-void
.end method
@@ -0,0 +1,108 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage;
.super Lai/g0;
.source "ObservableFromCompletionStage.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;,
Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lai/g0<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/CompletionStage;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CompletionStage<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/CompletionStage;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"stage"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/CompletionStage<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/g0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage;->a:Ljava/util/concurrent/CompletionStage;
return-void
.end method
# virtual methods
.method public l6(Lai/n0;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TT;>;)V"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;
invoke-direct {v0}, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;-><init>()V
.line 2
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;
invoke-direct {v1, p1, v0}, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$CompletionStageHandler;-><init>(Lai/n0;Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage$BiConsumerAtomicReference;)V
.line 3
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 4
invoke-interface {p1, v1}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 5
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ObservableFromCompletionStage;->a:Ljava/util/concurrent/CompletionStage;
invoke-interface {p1, v0}, Ljava/util/concurrent/CompletionStage;->whenComplete(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
return-void
.end method
@@ -0,0 +1,285 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "ParallelCollector.java"
# interfaces
.implements Lai/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ParallelCollectorInnerSubscriber"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lok/e;",
">;",
"Lai/r<",
"TT;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x6e63dcec7b1f41ddL
# instance fields
.field public final accumulator:Ljava/util/function/BiConsumer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/BiConsumer<",
"TA;TT;>;"
}
.end annotation
.end field
.field public final combiner:Ljava/util/function/BinaryOperator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/BinaryOperator<",
"TA;>;"
}
.end annotation
.end field
.field public container:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
.field public done:Z
.field public final parent:Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber<",
"TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/BinaryOperator;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"parent",
"container",
"accumulator",
"combiner"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber<",
"TT;TA;TR;>;TA;",
"Ljava/util/function/BiConsumer<",
"TA;TT;>;",
"Ljava/util/function/BinaryOperator<",
"TA;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->parent:Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
.line 3
iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->accumulator:Ljava/util/function/BiConsumer;
.line 4
iput-object p4, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->combiner:Ljava/util/function/BinaryOperator;
.line 5
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->container:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 0
.line 1
invoke-static {p0}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->cancel(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public onComplete()V
.locals 3
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->done:Z
if-nez v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->container:Ljava/lang/Object;
const/4 v1, 0x0
.line 3
iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->container:Ljava/lang/Object;
const/4 v1, 0x1
.line 4
iput-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->done:Z
.line 5
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->parent:Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->combiner:Ljava/util/function/BinaryOperator;
invoke-virtual {v1, v0, v2}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->innerComplete(Ljava/lang/Object;Ljava/util/function/BinaryOperator;)V
:cond_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->done:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x0
.line 3
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->container:Ljava/lang/Object;
const/4 v0, 0x1
.line 4
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->done:Z
.line 5
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->parent:Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
invoke-virtual {v0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->innerError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->done:Z
if-nez v0, :cond_0
.line 2
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->accumulator:Ljava/util/function/BiConsumer;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->container:Ljava/lang/Object;
invoke-interface {v0, v1, p1}, Ljava/util/function/BiConsumer;->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/rxjava3/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, Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->onError(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
const-wide v0, 0x7fffffffffffffffL
.line 1
invoke-static {p0, p1, v0, v1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lok/e;J)Z
return-void
.end method
@@ -0,0 +1,460 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
.super Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;
.source "ParallelCollector.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "ParallelCollectorSubscriber"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription<",
"TR;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x4a8674a85e439ebdL
# instance fields
.field public final current:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair<",
"TA;>;>;"
}
.end annotation
.end field
.field public final error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
.field public final finisher:Ljava/util/function/Function;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/Function<",
"TA;TR;>;"
}
.end annotation
.end field
.field public final remaining:Ljava/util/concurrent/atomic/AtomicInteger;
.field public final subscribers:[Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"[",
"Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber<",
"TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lok/d;ILjava/util/stream/Collector;)V
.locals 5
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"subscriber",
"n",
"collector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;I",
"Ljava/util/stream/Collector<",
"TT;TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;-><init>(Lok/d;)V
.line 2
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current:Ljava/util/concurrent/atomic/AtomicReference;
.line 3
new-instance p1, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->remaining:Ljava/util/concurrent/atomic/AtomicInteger;
.line 4
new-instance p1, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
invoke-direct {p1}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
.line 5
invoke-interface {p3}, Ljava/util/stream/Collector;->finisher()Ljava/util/function/Function;
move-result-object p1
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->finisher:Ljava/util/function/Function;
.line 6
new-array p1, p2, [Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
const/4 v0, 0x0
:goto_0
if-ge v0, p2, :cond_0
.line 7
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
invoke-interface {p3}, Ljava/util/stream/Collector;->supplier()Ljava/util/function/Supplier;
move-result-object v2
invoke-interface {v2}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
move-result-object v2
invoke-interface {p3}, Ljava/util/stream/Collector;->accumulator()Ljava/util/function/BiConsumer;
move-result-object v3
invoke-interface {p3}, Ljava/util/stream/Collector;->combiner()Ljava/util/function/BinaryOperator;
move-result-object v4
invoke-direct {v1, p0, v2, v3, v4}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;-><init>(Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/BinaryOperator;)V
aput-object v1, p1, v0
add-int/lit8 v0, v0, 0x1
goto :goto_0
.line 8
:cond_0
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->subscribers:[Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
.line 9
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->remaining:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {p1, p2}, Ljava/util/concurrent/atomic/AtomicInteger;->lazySet(I)V
return-void
.end method
# virtual methods
.method public addValue(Ljava/lang/Object;)Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TA;)",
"Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair<",
"TA;>;"
}
.end annotation
.line 1
:goto_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current: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/rxjava3/internal/jdk8/ParallelCollector$SlotPair;
const/4 v1, 0x0
if-nez v0, :cond_0
.line 2
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;
invoke-direct {v0}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;-><init>()V
.line 3
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_0
goto :goto_0
.line 4
:cond_0
invoke-virtual {v0}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->tryAcquireSlot()I
move-result v2
if-gez v2, :cond_1
.line 5
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {v2, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_1
if-nez v2, :cond_2
.line 6
iput-object p1, v0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->first:Ljava/lang/Object;
goto :goto_1
.line 7
:cond_2
iput-object p1, v0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->second:Ljava/lang/Object;
.line 8
:goto_1
invoke-virtual {v0}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->releaseSlot()Z
move-result p1
if-eqz p1, :cond_3
.line 9
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p1, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
return-object v0
:cond_3
return-object v1
.end method
.method public cancel()V
.locals 4
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->subscribers:[Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
aget-object v3, v0, v2
.line 2
invoke-virtual {v3}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;->cancel()V
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public innerComplete(Ljava/lang/Object;Ljava/util/function/BinaryOperator;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"value",
"combiner"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TA;",
"Ljava/util/function/BinaryOperator<",
"TA;>;)V"
}
.end annotation
.line 1
:goto_0
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->addValue(Ljava/lang/Object;)Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;
move-result-object p1
if-eqz p1, :cond_0
.line 2
:try_start_0
iget-object v0, p1, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->first:Ljava/lang/Object;
iget-object p1, p1, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->second:Ljava/lang/Object;
invoke-interface {p2, v0, p1}, Ljava/util/function/BinaryOperator;->apply(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
: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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->innerError(Ljava/lang/Throwable;)V
return-void
.line 5
:cond_0
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->remaining:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I
move-result p1
if-nez p1, :cond_1
.line 6
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;
.line 7
iget-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->current:Ljava/util/concurrent/atomic/AtomicReference;
const/4 v0, 0x0
invoke-virtual {p2, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 8
:try_start_1
iget-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->finisher:Ljava/util/function/Function;
iget-object p1, p1, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->first:Ljava/lang/Object;
invoke-interface {p2, p1}, Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string p2, "The finisher returned a null value"
invoke-static {p1, p2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
.line 9
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->complete(Ljava/lang/Object;)V
goto :goto_1
:catchall_1
move-exception p1
.line 10
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 11
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->innerError(Ljava/lang/Throwable;)V
:cond_1
:goto_1
return-void
.end method
.method public innerError(Ljava/lang/Throwable;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"ex"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
const/4 v1, 0x0
invoke-virtual {v0, v1, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->cancel()V
.line 3
iget-object v0, p0, Lio/reactivex/rxjava3/internal/subscriptions/DeferredScalarSubscription;->downstream:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 4
:cond_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->error:Lio/reactivex/rxjava3/internal/util/AtomicThrowable;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-eq p1, v0, :cond_1
.line 5
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_1
:goto_0
return-void
.end method
@@ -0,0 +1,122 @@
.class final Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;
.super Ljava/util/concurrent/atomic/AtomicInteger;
.source "ParallelCollector.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "SlotPair"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicInteger;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = 0x693e266f84553f6L
# instance fields
.field public first:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public final releaseIndex:Ljava/util/concurrent/atomic/AtomicInteger;
.field public second:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
.line 2
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->releaseIndex:Ljava/util/concurrent/atomic/AtomicInteger;
return-void
.end method
# virtual methods
.method public releaseSlot()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;->releaseIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
move-result v0
const/4 v1, 0x2
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 tryAcquireSlot()I
.locals 2
.line 1
:cond_0
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x2
if-lt v0, v1, :cond_1
const/4 v0, -0x1
return v0
:cond_1
add-int/lit8 v1, v0, 0x1
.line 2
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
move-result v1
if-eqz v1, :cond_0
return v0
.end method
@@ -0,0 +1,145 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;
.super Lai/m;
.source "ParallelCollector.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$SlotPair;,
Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;,
Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TR;>;"
}
.end annotation
# instance fields
.field public final b:Lii/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lii/a<",
"+TT;>;"
}
.end annotation
.end field
.field public final c:Ljava/util/stream/Collector;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Collector<",
"TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lii/a;Ljava/util/stream/Collector;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"collector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lii/a<",
"+TT;>;",
"Ljava/util/stream/Collector<",
"TT;TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;->b:Lii/a;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;->c:Ljava/util/stream/Collector;
return-void
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;->b:Lii/a;
invoke-virtual {v1}, Lii/a;->M()I
move-result v1
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;->c:Ljava/util/stream/Collector;
invoke-direct {v0, p1, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;-><init>(Lok/d;ILjava/util/stream/Collector;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 2
invoke-interface {p1, v0}, Lok/d;->onSubscribe(Lok/e;)V
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector;->b:Lii/a;
iget-object v0, v0, Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorSubscriber;->subscribers:[Lio/reactivex/rxjava3/internal/jdk8/ParallelCollector$ParallelCollectorInnerSubscriber;
invoke-virtual {p1, v0}, Lii/a;->X([Lok/d;)V
return-void
:catchall_0
move-exception v0
.line 4
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
return-void
.end method
@@ -0,0 +1,180 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/a$a;
.super Ljava/lang/Object;
.source "CompletableFromCompletionStage.java"
# interfaces
.implements Lio/reactivex/rxjava3/disposables/c;
.implements Ljava/util/function/BiConsumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/a;
.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;",
"Lio/reactivex/rxjava3/disposables/c;",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# instance fields
.field public final a:Lai/d;
.field public final b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/d;Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"whenReference"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/d;",
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/a$a;->a:Lai/d;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/a$a;->b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"item",
"error"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
if-eqz p2, :cond_0
.line 1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/a$a;->a:Lai/d;
invoke-interface {p1, p2}, Lai/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 2
:cond_0
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/a$a;->a:Lai/d;
invoke-interface {p1}, Lai/d;->onComplete()V
:goto_0
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"item",
"error"
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Throwable;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/a$a;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V
return-void
.end method
.method public dispose()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/a$a;->b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/a$a;->b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
invoke-virtual {v0}, 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,98 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/a;
.super Lai/a;
.source "CompletableFromCompletionStage.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/a$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lai/a;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/CompletionStage;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CompletionStage<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/CompletionStage;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"stage"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/CompletionStage<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/a;->a:Ljava/util/concurrent/CompletionStage;
return-void
.end method
# virtual methods
.method public Y0(Lai/d;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
invoke-direct {v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;-><init>()V
.line 2
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/a$a;
invoke-direct {v1, p1, v0}, Lio/reactivex/rxjava3/internal/jdk8/a$a;-><init>(Lai/d;Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;)V
.line 3
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 4
invoke-interface {p1, v1}, Lai/d;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 5
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/a;->a:Ljava/util/concurrent/CompletionStage;
invoke-interface {p1, v0}, Ljava/util/concurrent/CompletionStage;->whenComplete(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
return-void
.end method
@@ -0,0 +1,295 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/b;
.super Ljava/util/concurrent/CompletableFuture;
.source "CompletionStageConsumer.java"
# interfaces
.implements Lai/y;
.implements Lai/s0;
.implements Lai/d;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CompletableFuture<",
"TT;>;",
"Lai/y<",
"TT;>;",
"Lai/s0<",
"TT;>;",
"Lai/d;"
}
.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/rxjava3/disposables/c;",
">;"
}
.end annotation
.end field
.field public final b:Z
.field public final c:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/CompletableFuture;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->b:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->c:Ljava/lang/Object;
.line 4
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public a()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public b()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public cancel(Z)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mayInterruptIfRunning"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/b;->a()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->cancel(Z)Z
move-result p1
return p1
.end method
.method public complete(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/b;->a()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public completeExceptionally(Ljava/lang/Throwable;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"ex"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/b;->a()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
move-result p1
return p1
.end method
.method public onComplete()V
.locals 2
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->b:Z
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->c:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/b;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 3
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
const-string v1, "The source was empty"
invoke-direct {v0, v1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/b;->completeExceptionally(Ljava/lang/Throwable;)Z
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/b;->b()V
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/b;->completeExceptionally(Ljava/lang/Throwable;)Z
move-result v0
if-nez v0, :cond_0
.line 3
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/b;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/b;->b()V
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/b;->complete(Ljava/lang/Object;)Z
return-void
.end method
@@ -0,0 +1,369 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/c$a;
.super Ljava/lang/Object;
.source "FlowableCollectWithCollectorSingle.java"
# interfaces
.implements Lai/r;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lai/r<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# instance fields
.field public final a:Lai/s0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/s0<",
"-TR;>;"
}
.end annotation
.end field
.field public final b:Ljava/util/function/BiConsumer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/BiConsumer<",
"TA;TT;>;"
}
.end annotation
.end field
.field public final c:Ljava/util/function/Function;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/Function<",
"TA;TR;>;"
}
.end annotation
.end field
.field public d:Lok/e;
.field public e:Z
.field public f:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/s0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"downstream",
"container",
"accumulator",
"finisher"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/s0<",
"-TR;>;TA;",
"Ljava/util/function/BiConsumer<",
"TA;TT;>;",
"Ljava/util/function/Function<",
"TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object;
.line 4
iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->b:Ljava/util/function/BiConsumer;
.line 5
iput-object p4, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->c:Ljava/util/function/Function;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 2
sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
return-void
.end method
.method public isDisposed()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
sget-object v1, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
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-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z
.line 3
sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object;
const/4 v1, 0x0
.line 5
iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object;
.line 6
:try_start_0
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->c:Ljava/util/function/Function;
invoke-interface {v1, v0}, Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The finisher returned a null value"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0;
invoke-interface {v1, v0}, Lai/s0;->onSuccess(Ljava/lang/Object;)V
return-void
:catchall_0
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0;
invoke-interface {v1, v0}, Lai/s0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z
.line 4
sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
const/4 v0, 0x0
.line 5
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object;
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0;
invoke-interface {v0, p1}, Lai/s0;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->b:Ljava/util/function/BiConsumer;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object;
invoke-interface {v0, v1, p1}, Ljava/util/function/BiConsumer;->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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/c$a;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 2
.param p1 # Lok/e;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e;
.line 3
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0;
invoke-interface {v0, p0}, Lai/s0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
const-wide v0, 0x7fffffffffffffffL
.line 4
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
:cond_0
return-void
.end method
@@ -0,0 +1,185 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/c;
.super Lai/p0;
.source "FlowableCollectWithCollectorSingle.java"
# interfaces
.implements Lei/d;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/c$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/p0<",
"TR;>;",
"Lei/d<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/m<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Ljava/util/stream/Collector;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/m;Ljava/util/stream/Collector;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"collector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/m<",
"TT;>;",
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/p0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->a:Lai/m;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->b:Ljava/util/stream/Collector;
return-void
.end method
# virtual methods
.method public M1(Lai/s0;)V
.locals 5
.param p1 # Lai/s0;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/s0<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->b:Ljava/util/stream/Collector;
invoke-interface {v0}, Ljava/util/stream/Collector;->supplier()Ljava/util/function/Supplier;
move-result-object v0
invoke-interface {v0}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
move-result-object v0
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->b:Ljava/util/stream/Collector;
invoke-interface {v1}, Ljava/util/stream/Collector;->accumulator()Ljava/util/function/BiConsumer;
move-result-object v1
.line 3
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->b:Ljava/util/stream/Collector;
invoke-interface {v2}, Ljava/util/stream/Collector;->finisher()Ljava/util/function/Function;
move-result-object v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 4
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->a:Lai/m;
new-instance v4, Lio/reactivex/rxjava3/internal/jdk8/c$a;
invoke-direct {v4, p1, v0, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/c$a;-><init>(Lai/s0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
invoke-virtual {v3, v4}, Lai/m;->N6(Lai/r;)V
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lai/s0;)V
return-void
.end method
.method public c()Lai/m;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lai/m<",
"TR;>;"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->a:Lai/m;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/c;->b:Ljava/util/stream/Collector;
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/FlowableCollectWithCollector;-><init>(Lai/m;Ljava/util/stream/Collector;)V
return-object v0
.end method
@@ -0,0 +1,142 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/d;
.super Lio/reactivex/rxjava3/internal/jdk8/h;
.source "FlowableFirstStageSubscriber.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/h<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Z
.field public final d:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/d;->c:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/d;->d:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public a(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
const-wide/16 v0, 0x1
.line 1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
return-void
.end method
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CompletableFuture;->isDone()Z
move-result v0
if-nez v0, :cond_1
.line 2
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->c()V
.line 3
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/d;->c:Z
if-eqz v0, :cond_0
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/d;->d:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 5
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->completeExceptionally(Ljava/lang/Throwable;)Z
:cond_1
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/h;->complete(Ljava/lang/Object;)Z
return-void
.end method
@@ -0,0 +1,153 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/e;
.super Lio/reactivex/rxjava3/internal/jdk8/h;
.source "FlowableLastStageSubscriber.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/h<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Z
.field public final d:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/e;->c:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/e;->d:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public a(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
const-wide v0, 0x7fffffffffffffffL
.line 1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
return-void
.end method
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CompletableFuture;->isDone()Z
move-result v0
if-nez v0, :cond_2
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->c()V
if-eqz v0, :cond_0
.line 4
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 5
:cond_0
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/e;->c:Z
if-eqz v0, :cond_1
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/e;->d:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 7
:cond_1
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->completeExceptionally(Ljava/lang/Throwable;)Z
:cond_2
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
return-void
.end method
@@ -0,0 +1,298 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/f$a;
.super Lgi/a;
.source "FlowableMapOptional.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/f;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lgi/a<",
"TT;TR;>;"
}
.end annotation
# instance fields
.field public final f:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lei/c;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lei/c<",
"-TR;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lgi/a;-><init>(Lei/c;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/f$a;->f:Lci/o;
return-void
.end method
# virtual methods
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/f$a;->tryOnNext(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_0
.line 2
iget-object p1, p0, Lgi/a;->b:Lok/e;
const-wide/16 v0, 0x1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
:cond_0
return-void
.end method
.method public poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
:cond_0
:goto_0
iget-object v0, p0, Lgi/a;->c:Lei/n;
invoke-interface {v0}, Lei/q;->poll()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
const/4 v0, 0x0
return-object v0
.line 2
:cond_1
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/f$a;->f:Lci/o;
invoke-interface {v1, v0}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Optional"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Ljava/util/Optional;
.line 3
invoke-virtual {v0}, Ljava/util/Optional;->isPresent()Z
move-result v1
if-eqz v1, :cond_2
.line 4
invoke-virtual {v0}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.line 5
:cond_2
iget v0, p0, Lgi/a;->e:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
.line 6
iget-object v0, p0, Lgi/a;->c:Lei/n;
const-wide/16 v1, 0x1
invoke-interface {v0, v1, v2}, Lok/e;->request(J)V
goto :goto_0
.end method
.method public requestFusion(I)I
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lgi/a;->d(I)I
move-result p1
return p1
.end method
.method public tryOnNext(Ljava/lang/Object;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
iget-boolean v0, p0, Lgi/a;->d:Z
const/4 v1, 0x1
if-eqz v0, :cond_0
return v1
.line 2
:cond_0
iget v0, p0, Lgi/a;->e:I
if-eqz v0, :cond_1
.line 3
iget-object p1, p0, Lgi/a;->a:Lei/c;
const/4 v0, 0x0
invoke-interface {p1, v0}, Lok/d;->onNext(Ljava/lang/Object;)V
return v1
.line 4
:cond_1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/f$a;->f:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null Optional"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/Optional;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 5
invoke-virtual {p1}, Ljava/util/Optional;->isPresent()Z
move-result v0
if-eqz v0, :cond_2
.line 6
iget-object v0, p0, Lgi/a;->a:Lei/c;
invoke-virtual {p1}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Lei/c;->tryOnNext(Ljava/lang/Object;)Z
move-result p1
return p1
:cond_2
const/4 p1, 0x0
return p1
:catchall_0
move-exception p1
.line 7
invoke-virtual {p0, p1}, Lgi/a;->c(Ljava/lang/Throwable;)V
return v1
.end method
@@ -0,0 +1,301 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/f$b;
.super Lgi/b;
.source "FlowableMapOptional.java"
# interfaces
.implements Lei/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/f;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lgi/b<",
"TT;TR;>;",
"Lei/c<",
"TT;>;"
}
.end annotation
# instance fields
.field public final f:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lok/d;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lgi/b;-><init>(Lok/d;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/f$b;->f:Lci/o;
return-void
.end method
# virtual methods
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/f$b;->tryOnNext(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_0
.line 2
iget-object p1, p0, Lgi/b;->b:Lok/e;
const-wide/16 v0, 0x1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
:cond_0
return-void
.end method
.method public poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
:cond_0
:goto_0
iget-object v0, p0, Lgi/b;->c:Lei/n;
invoke-interface {v0}, Lei/q;->poll()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
const/4 v0, 0x0
return-object v0
.line 2
:cond_1
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/f$b;->f:Lci/o;
invoke-interface {v1, v0}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Optional"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Ljava/util/Optional;
.line 3
invoke-virtual {v0}, Ljava/util/Optional;->isPresent()Z
move-result v1
if-eqz v1, :cond_2
.line 4
invoke-virtual {v0}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.line 5
:cond_2
iget v0, p0, Lgi/b;->e:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
.line 6
iget-object v0, p0, Lgi/b;->c:Lei/n;
const-wide/16 v1, 0x1
invoke-interface {v0, v1, v2}, Lok/e;->request(J)V
goto :goto_0
.end method
.method public requestFusion(I)I
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lgi/b;->d(I)I
move-result p1
return p1
.end method
.method public tryOnNext(Ljava/lang/Object;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
iget-boolean v0, p0, Lgi/b;->d:Z
const/4 v1, 0x1
if-eqz v0, :cond_0
return v1
.line 2
:cond_0
iget v0, p0, Lgi/b;->e:I
if-eqz v0, :cond_1
.line 3
iget-object p1, p0, Lgi/b;->a:Lok/d;
const/4 v0, 0x0
invoke-interface {p1, v0}, Lok/d;->onNext(Ljava/lang/Object;)V
return v1
.line 4
:cond_1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/f$b;->f:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null Optional"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/Optional;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 5
invoke-virtual {p1}, Ljava/util/Optional;->isPresent()Z
move-result v0
if-eqz v0, :cond_2
.line 6
iget-object v0, p0, Lgi/b;->a:Lok/d;
invoke-virtual {p1}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V
return v1
:cond_2
const/4 p1, 0x0
return p1
:catchall_0
move-exception p1
.line 7
invoke-virtual {p0, p1}, Lgi/b;->c(Ljava/lang/Throwable;)V
return v1
.end method
@@ -0,0 +1,142 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/f;
.super Lai/m;
.source "FlowableMapOptional.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/f$a;,
Lio/reactivex/rxjava3/internal/jdk8/f$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/m<",
"TR;>;"
}
.end annotation
# instance fields
.field public final b:Lai/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/m<",
"TT;>;"
}
.end annotation
.end field
.field public final c:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/m;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/m<",
"TT;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/m;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/f;->b:Lai/m;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/f;->c:Lci/o;
return-void
.end method
# virtual methods
.method public O6(Lok/d;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
instance-of v0, p1, Lei/c;
if-eqz v0, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/f;->b:Lai/m;
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/f$a;
check-cast p1, Lei/c;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/f;->c:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/f$a;-><init>(Lei/c;Lci/o;)V
invoke-virtual {v0, v1}, Lai/m;->N6(Lai/r;)V
goto :goto_0
.line 3
:cond_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/f;->b:Lai/m;
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/f$b;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/f;->c:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/f$b;-><init>(Lok/d;Lci/o;)V
invoke-virtual {v0, v1}, Lai/m;->N6(Lai/r;)V
:goto_0
return-void
.end method
@@ -0,0 +1,176 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/g;
.super Lio/reactivex/rxjava3/internal/jdk8/h;
.source "FlowableSingleStageSubscriber.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/h<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Z
.field public final d:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/g;->c:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/g;->d:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public a(Lok/e;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
const-wide/16 v0, 0x2
.line 1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
return-void
.end method
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CompletableFuture;->isDone()Z
move-result v0
if-nez v0, :cond_2
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->c()V
if-eqz v0, :cond_0
.line 4
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 5
:cond_0
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/g;->c:Z
if-eqz v0, :cond_1
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/g;->d:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 7
:cond_1
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/h;->completeExceptionally(Ljava/lang/Throwable;)Z
:cond_2
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
.line 3
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Sequence contains more than one element!"
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/h;->completeExceptionally(Ljava/lang/Throwable;)Z
goto :goto_0
.line 4
:cond_0
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
:goto_0
return-void
.end method
@@ -0,0 +1,231 @@
.class public abstract Lio/reactivex/rxjava3/internal/jdk8/h;
.super Ljava/util/concurrent/CompletableFuture;
.source "FlowableStageSubscriber.java"
# interfaces
.implements Lai/r;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CompletableFuture<",
"TT;>;",
"Lai/r<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lok/e;",
">;"
}
.end annotation
.end field
.field public b:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/util/concurrent/CompletableFuture;-><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/rxjava3/internal/jdk8/h;->a:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public abstract a(Lok/e;)V
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.end method
.method public final b()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->cancel(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public final c()V
.locals 2
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->b:Ljava/lang/Object;
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->a:Ljava/util/concurrent/atomic/AtomicReference;
sget-object v1, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public final cancel(Z)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mayInterruptIfRunning"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->b()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->cancel(Z)Z
move-result p1
return p1
.end method
.method public final complete(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->b()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public final completeExceptionally(Ljava/lang/Throwable;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"ex"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->b()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
move-result p1
return p1
.end method
.method public final onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/h;->c()V
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/h;->completeExceptionally(Ljava/lang/Throwable;)Z
move-result v0
if-nez v0, :cond_0
.line 3
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
.method public final onSubscribe(Lok/e;)V
.locals 1
.param p1 # Lok/e;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/h;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/h;->a(Lok/e;)V
:cond_0
return-void
.end method
@@ -0,0 +1,198 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/i$a;
.super Ljava/lang/Object;
.source "MaybeFromCompletionStage.java"
# interfaces
.implements Lio/reactivex/rxjava3/disposables/c;
.implements Ljava/util/function/BiConsumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/i;
.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;",
"Lio/reactivex/rxjava3/disposables/c;",
"Ljava/util/function/BiConsumer<",
"TT;",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# instance fields
.field public final a:Lai/y;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/y<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/y;Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"whenReference"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"-TT;>;",
"Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->a:Lai/y;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;Ljava/lang/Throwable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"item",
"error"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
if-eqz p2, :cond_0
.line 1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->a:Lai/y;
invoke-interface {p1, p2}, Lai/y;->onError(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
if-eqz p1, :cond_1
.line 2
iget-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->a:Lai/y;
invoke-interface {p2, p1}, Lai/y;->onSuccess(Ljava/lang/Object;)V
goto :goto_0
.line 3
:cond_1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->a:Lai/y;
invoke-interface {p1}, Lai/y;->onComplete()V
:goto_0
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x1000,
0x1000
}
names = {
"item",
"error"
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Throwable;
invoke-virtual {p0, p1, p2}, Lio/reactivex/rxjava3/internal/jdk8/i$a;->a(Ljava/lang/Object;Ljava/lang/Throwable;)V
return-void
.end method
.method public dispose()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/i$a;->b:Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
invoke-virtual {v0}, 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,107 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/i;
.super Lai/v;
.source "MaybeFromCompletionStage.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/i$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lai/v<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/CompletionStage;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/CompletionStage<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/concurrent/CompletionStage;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"stage"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/CompletionStage<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/v;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/i;->a:Ljava/util/concurrent/CompletionStage;
return-void
.end method
# virtual methods
.method public U1(Lai/y;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"-TT;>;)V"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;
invoke-direct {v0}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;-><init>()V
.line 2
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/i$a;
invoke-direct {v1, p1, v0}, Lio/reactivex/rxjava3/internal/jdk8/i$a;-><init>(Lai/y;Lio/reactivex/rxjava3/internal/jdk8/FlowableFromCompletionStage$BiConsumerAtomicReference;)V
.line 3
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 4
invoke-interface {p1, v1}, Lai/y;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 5
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/i;->a:Ljava/util/concurrent/CompletionStage;
invoke-interface {p1, v0}, Ljava/util/concurrent/CompletionStage;->whenComplete(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;
return-void
.end method
@@ -0,0 +1,263 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/j$a;
.super Ljava/lang/Object;
.source "MaybeMapOptional.java"
# interfaces
.implements Lai/y;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lai/y<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# instance fields
.field public final a:Lai/y;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/y<",
"-TR;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
.field public c:Lio/reactivex/rxjava3/disposables/c;
# direct methods
.method public constructor <init>(Lai/y;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"-TR;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->b:Lci/o;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->c:Lio/reactivex/rxjava3/disposables/c;
.line 2
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->c:Lio/reactivex/rxjava3/disposables/c;
.line 3
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->c:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->isDisposed()Z
move-result v0
return v0
.end method
.method public onComplete()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
invoke-interface {v0}, Lai/y;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"e"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
invoke-interface {v0, p1}, Lai/y;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->c:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->c:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
invoke-interface {p1, p0}, Lai/y;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:cond_0
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->b:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null item"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/Optional;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 2
invoke-virtual {p1}, Ljava/util/Optional;->isPresent()Z
move-result v0
if-eqz v0, :cond_0
.line 3
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
invoke-virtual {p1}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Lai/y;->onSuccess(Ljava/lang/Object;)V
goto :goto_0
.line 4
:cond_0
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
invoke-interface {p1}, Lai/y;->onComplete()V
:goto_0
return-void
:catchall_0
move-exception p1
.line 5
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j$a;->a:Lai/y;
invoke-interface {v0, p1}, Lai/y;->onError(Ljava/lang/Throwable;)V
return-void
.end method
@@ -0,0 +1,119 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/j;
.super Lai/v;
.source "MaybeMapOptional.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/j$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/v<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/v;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/v<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/v;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/v<",
"TT;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/v;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/j;->a:Lai/v;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/j;->b:Lci/o;
return-void
.end method
# virtual methods
.method public U1(Lai/y;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/y<",
"-TR;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/j;->a:Lai/v;
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/j$a;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/j;->b:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/j$a;-><init>(Lai/y;Lci/o;)V
invoke-virtual {v0, v1}, Lai/v;->b(Lai/y;)V
return-void
.end method
@@ -0,0 +1,364 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/k$a;
.super Ljava/lang/Object;
.source "ObservableCollectWithCollectorSingle.java"
# interfaces
.implements Lai/n0;
.implements Lio/reactivex/rxjava3/disposables/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/k;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lai/n0<",
"TT;>;",
"Lio/reactivex/rxjava3/disposables/c;"
}
.end annotation
# instance fields
.field public final a:Lai/s0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/s0<",
"-TR;>;"
}
.end annotation
.end field
.field public final b:Ljava/util/function/BiConsumer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/BiConsumer<",
"TA;TT;>;"
}
.end annotation
.end field
.field public final c:Ljava/util/function/Function;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/function/Function<",
"TA;TR;>;"
}
.end annotation
.end field
.field public d:Lio/reactivex/rxjava3/disposables/c;
.field public e:Z
.field public f:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/s0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0,
0x0
}
names = {
"downstream",
"container",
"accumulator",
"finisher"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/s0<",
"-TR;>;TA;",
"Ljava/util/function/BiConsumer<",
"TA;TT;>;",
"Ljava/util/function/Function<",
"TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->a:Lai/s0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->f:Ljava/lang/Object;
.line 4
iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->b:Ljava/util/function/BiConsumer;
.line 5
iput-object p4, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->c:Ljava/util/function/Function;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 2
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
return-void
.end method
.method public isDisposed()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/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-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->e:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->e:Z
.line 3
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->f:Ljava/lang/Object;
const/4 v1, 0x0
.line 5
iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->f:Ljava/lang/Object;
.line 6
:try_start_0
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->c:Ljava/util/function/Function;
invoke-interface {v1, v0}, Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The finisher returned a null value"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 7
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->a:Lai/s0;
invoke-interface {v1, v0}, Lai/s0;->onSuccess(Ljava/lang/Object;)V
return-void
:catchall_0
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->a:Lai/s0;
invoke-interface {v1, v0}, Lai/s0;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->e:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
goto :goto_0
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->e:Z
.line 4
sget-object v0, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
const/4 v0, 0x0
.line 5
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->f:Ljava/lang/Object;
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->a:Lai/s0;
invoke-interface {v0, p1}, Lai/s0;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->e:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->b:Ljava/util/function/BiConsumer;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->f:Ljava/lang/Object;
invoke-interface {v0, v1, p1}, Ljava/util/function/BiConsumer;->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/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
invoke-interface {v0}, Lio/reactivex/rxjava3/disposables/c;->dispose()V
.line 5
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/k$a;->onError(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->validate(Lio/reactivex/rxjava3/disposables/c;Lio/reactivex/rxjava3/disposables/c;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->d:Lio/reactivex/rxjava3/disposables/c;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/k$a;->a:Lai/s0;
invoke-interface {p1, p0}, Lai/s0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
:cond_0
return-void
.end method
@@ -0,0 +1,185 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/k;
.super Lai/p0;
.source "ObservableCollectWithCollectorSingle.java"
# interfaces
.implements Lei/f;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/k$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/p0<",
"TR;>;",
"Lei/f<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/g0<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Ljava/util/stream/Collector;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/g0;Ljava/util/stream/Collector;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"collector"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/g0<",
"TT;>;",
"Ljava/util/stream/Collector<",
"-TT;TA;TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/p0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->a:Lai/g0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->b:Ljava/util/stream/Collector;
return-void
.end method
# virtual methods
.method public M1(Lai/s0;)V
.locals 5
.param p1 # Lai/s0;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/s0<",
"-TR;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->b:Ljava/util/stream/Collector;
invoke-interface {v0}, Ljava/util/stream/Collector;->supplier()Ljava/util/function/Supplier;
move-result-object v0
invoke-interface {v0}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
move-result-object v0
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->b:Ljava/util/stream/Collector;
invoke-interface {v1}, Ljava/util/stream/Collector;->accumulator()Ljava/util/function/BiConsumer;
move-result-object v1
.line 3
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->b:Ljava/util/stream/Collector;
invoke-interface {v2}, Ljava/util/stream/Collector;->finisher()Ljava/util/function/Function;
move-result-object v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 4
iget-object v3, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->a:Lai/g0;
new-instance v4, Lio/reactivex/rxjava3/internal/jdk8/k$a;
invoke-direct {v4, p1, v0, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/k$a;-><init>(Lai/s0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V
invoke-virtual {v3, v4}, Lai/g0;->subscribe(Lai/n0;)V
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lai/s0;)V
return-void
.end method
.method public a()Lai/g0;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lai/g0<",
"TR;>;"
}
.end annotation
.line 1
new-instance v0, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->a:Lai/g0;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/k;->b:Ljava/util/stream/Collector;
invoke-direct {v0, v1, v2}, Lio/reactivex/rxjava3/internal/jdk8/ObservableCollectWithCollector;-><init>(Lai/g0;Ljava/util/stream/Collector;)V
return-object v0
.end method
@@ -0,0 +1,123 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/l;
.super Lio/reactivex/rxjava3/internal/jdk8/q;
.source "ObservableFirstStageObserver.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/q<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Z
.field public final d:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/l;->c:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/l;->d:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CompletableFuture;->isDone()Z
move-result v0
if-nez v0, :cond_1
.line 2
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->a()V
.line 3
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/l;->c:Z
if-eqz v0, :cond_0
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/l;->d:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 5
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->completeExceptionally(Ljava/lang/Throwable;)Z
:cond_1
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/q;->complete(Ljava/lang/Object;)Z
return-void
.end method
@@ -0,0 +1,454 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/m$a;
.super Ljava/lang/Object;
.source "ObservableFromStream.java"
# interfaces
.implements Lei/l;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/m;
.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;",
"Lei/l<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lai/n0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/n0<",
"-TT;>;"
}
.end annotation
.end field
.field public b:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.end field
.field public c:Ljava/lang/AutoCloseable;
.field public volatile d:Z
.field public e:Z
.field public f:Z
# direct methods
.method public constructor <init>(Lai/n0;Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"downstream",
"iterator",
"closeable"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TT;>;",
"Ljava/util/Iterator<",
"TT;>;",
"Ljava/lang/AutoCloseable;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->a:Lai/n0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->b:Ljava/util/Iterator;
.line 4
iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->c:Ljava/lang/AutoCloseable;
return-void
.end method
# virtual methods
.method public a()V
.locals 5
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->f:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->b:Ljava/util/Iterator;
.line 3
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->a:Lai/n0;
.line 4
:goto_0
iget-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
if-eqz v2, :cond_1
.line 5
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/m$a;->clear()V
return-void
:cond_1
const/4 v2, 0x1
.line 6
:try_start_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
const-string v4, "The Stream\'s Iterator.next returned a null value"
invoke-static {v3, v4}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 7
iget-boolean v4, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
if-eqz v4, :cond_2
goto :goto_0
.line 8
:cond_2
invoke-interface {v1, v3}, Lai/n0;->onNext(Ljava/lang/Object;)V
.line 9
iget-boolean v3, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
if-eqz v3, :cond_3
goto :goto_0
.line 10
:cond_3
:try_start_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v3
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-eqz v3, :cond_4
goto :goto_0
.line 11
:cond_4
invoke-interface {v1}, Lai/n0;->onComplete()V
.line 12
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
goto :goto_0
:catchall_0
move-exception v3
.line 13
invoke-static {v3}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 14
invoke-interface {v1, v3}, Lai/n0;->onError(Ljava/lang/Throwable;)V
.line 15
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
goto :goto_0
:catchall_1
move-exception v3
.line 16
invoke-static {v3}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 17
invoke-interface {v1, v3}, Lai/n0;->onError(Ljava/lang/Throwable;)V
.line 18
iput-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
goto :goto_0
.end method
.method public clear()V
.locals 2
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->b:Ljava/util/Iterator;
.line 2
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->c:Ljava/lang/AutoCloseable;
.line 3
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->c:Ljava/lang/AutoCloseable;
if-eqz v1, :cond_0
.line 4
invoke-static {v1}, Lio/reactivex/rxjava3/internal/jdk8/m;->I8(Ljava/lang/AutoCloseable;)V
:cond_0
return-void
.end method
.method public dispose()V
.locals 1
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
.line 2
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/m$a;->a()V
return-void
.end method
.method public isDisposed()Z
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->d:Z
return v0
.end method
.method public isEmpty()Z
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->b:Ljava/util/Iterator;
if-eqz v0, :cond_2
.line 2
iget-boolean v1, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->e:Z
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 3
:cond_0
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/m$a;->clear()V
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x0
return v0
:cond_2
:goto_1
const/4 v0, 0x1
return v0
.end method
.method public offer(Ljava/lang/Object;)Z
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public offer(Ljava/lang/Object;Ljava/lang/Object;)Z
.locals 0
.param p1 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/Object;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"v1",
"v2"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)Z"
}
.end annotation
.line 2
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public poll()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation build Lio/reactivex/rxjava3/annotations/Nullable;
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->b:Ljava/util/Iterator;
const/4 v1, 0x0
if-nez v0, :cond_0
return-object v1
.line 2
:cond_0
iget-boolean v2, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->e:Z
if-nez v2, :cond_1
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->e:Z
goto :goto_0
.line 4
:cond_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_2
.line 5
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/m$a;->clear()V
return-object v1
.line 6
:cond_2
:goto_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->b:Ljava/util/Iterator;
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
const-string v1, "The Stream\'s Iterator.next() returned a null value"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
return-object v0
.end method
.method public requestFusion(I)I
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
const/4 v0, 0x1
and-int/2addr p1, v0
if-eqz p1, :cond_0
.line 1
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m$a;->f:Z
return v0
:cond_0
const/4 p1, 0x0
return p1
.end method
@@ -0,0 +1,200 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/m;
.super Lai/g0;
.source "ObservableFromStream.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/m$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lai/g0<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/stream/Stream;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/stream/Stream<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/stream/Stream;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"stream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/Stream<",
"TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/g0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/m;->a:Ljava/util/stream/Stream;
return-void
.end method
.method public static I8(Ljava/lang/AutoCloseable;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"c"
}
.end annotation
.line 1
:try_start_0
invoke-interface {p0}, Ljava/lang/AutoCloseable;->close()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p0
.line 2
invoke-static {p0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {p0}, Lji/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public static J8(Lai/n0;Ljava/util/stream/Stream;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"observer",
"stream"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lai/n0<",
"-TT;>;",
"Ljava/util/stream/Stream<",
"TT;>;)V"
}
.end annotation
.line 1
:try_start_0
invoke-interface {p1}, Ljava/util/stream/Stream;->iterator()Ljava/util/Iterator;
move-result-object v0
.line 2
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_0
.line 3
invoke-static {p0}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->complete(Lai/n0;)V
.line 4
invoke-static {p1}, Lio/reactivex/rxjava3/internal/jdk8/m;->I8(Ljava/lang/AutoCloseable;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
.line 5
:cond_0
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/m$a;
invoke-direct {v1, p0, v0, p1}, Lio/reactivex/rxjava3/internal/jdk8/m$a;-><init>(Lai/n0;Ljava/util/Iterator;Ljava/lang/AutoCloseable;)V
.line 6
invoke-interface {p0, v1}, Lai/n0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.line 7
invoke-virtual {v1}, Lio/reactivex/rxjava3/internal/jdk8/m$a;->a()V
return-void
:catchall_0
move-exception v0
.line 8
invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 9
invoke-static {v0, p0}, Lio/reactivex/rxjava3/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lai/n0;)V
.line 10
invoke-static {p1}, Lio/reactivex/rxjava3/internal/jdk8/m;->I8(Ljava/lang/AutoCloseable;)V
return-void
.end method
# virtual methods
.method public l6(Lai/n0;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TT;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/m;->a:Ljava/util/stream/Stream;
invoke-static {p1, v0}, Lio/reactivex/rxjava3/internal/jdk8/m;->J8(Lai/n0;Ljava/util/stream/Stream;)V
return-void
.end method
@@ -0,0 +1,134 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/n;
.super Lio/reactivex/rxjava3/internal/jdk8/q;
.source "ObservableLastStageObserver.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/q<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Z
.field public final d:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/n;->c:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/n;->d:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CompletableFuture;->isDone()Z
move-result v0
if-nez v0, :cond_2
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->a()V
if-eqz v0, :cond_0
.line 4
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 5
:cond_0
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/n;->c:Z
if-eqz v0, :cond_1
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/n;->d:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 7
:cond_1
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->completeExceptionally(Ljava/lang/Throwable;)Z
:cond_2
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
return-void
.end method
@@ -0,0 +1,237 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/o$a;
.super Lfi/a;
.source "ObservableMapOptional.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/o;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lfi/a<",
"TT;TR;>;"
}
.end annotation
# instance fields
.field public final f:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/n0;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"downstream",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lfi/a;-><init>(Lai/n0;)V
.line 2
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/o$a;->f:Lci/o;
return-void
.end method
# virtual methods
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lfi/a;->d:Z
if-eqz v0, :cond_0
return-void
.line 2
:cond_0
iget v0, p0, Lfi/a;->e:I
if-eqz v0, :cond_1
.line 3
iget-object p1, p0, Lfi/a;->a:Lai/n0;
const/4 v0, 0x0
invoke-interface {p1, v0}, Lai/n0;->onNext(Ljava/lang/Object;)V
return-void
.line 4
:cond_1
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/o$a;->f:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null Optional"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/Optional;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 5
invoke-virtual {p1}, Ljava/util/Optional;->isPresent()Z
move-result v0
if-eqz v0, :cond_2
.line 6
iget-object v0, p0, Lfi/a;->a:Lai/n0;
invoke-virtual {p1}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Lai/n0;->onNext(Ljava/lang/Object;)V
:cond_2
return-void
:catchall_0
move-exception p1
.line 7
invoke-virtual {p0, p1}, Lfi/a;->c(Ljava/lang/Throwable;)V
return-void
.end method
.method public poll()Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TR;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 1
:cond_0
iget-object v0, p0, Lfi/a;->c:Lei/l;
invoke-interface {v0}, Lei/q;->poll()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
const/4 v0, 0x0
return-object v0
.line 2
:cond_1
iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/o$a;->f:Lci/o;
invoke-interface {v1, v0}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Optional"
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Ljava/util/Optional;
.line 3
invoke-virtual {v0}, Ljava/util/Optional;->isPresent()Z
move-result v1
if-eqz v1, :cond_0
.line 4
invoke-virtual {v0}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public requestFusion(I)I
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mode"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lfi/a;->d(I)I
move-result p1
return p1
.end method
@@ -0,0 +1,119 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/o;
.super Lai/g0;
.source "ObservableMapOptional.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/rxjava3/internal/jdk8/o$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lai/g0<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lai/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lai/g0<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lai/g0;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"source",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/g0<",
"TT;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lai/g0;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/o;->a:Lai/g0;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/o;->b:Lci/o;
return-void
.end method
# virtual methods
.method public l6(Lai/n0;)V
.locals 3
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"observer"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lai/n0<",
"-TR;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/o;->a:Lai/g0;
new-instance v1, Lio/reactivex/rxjava3/internal/jdk8/o$a;
iget-object v2, p0, Lio/reactivex/rxjava3/internal/jdk8/o;->b:Lci/o;
invoke-direct {v1, p1, v2}, Lio/reactivex/rxjava3/internal/jdk8/o$a;-><init>(Lai/n0;Lci/o;)V
invoke-virtual {v0, v1}, Lai/g0;->subscribe(Lai/n0;)V
return-void
.end method
@@ -0,0 +1,157 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/p;
.super Lio/reactivex/rxjava3/internal/jdk8/q;
.source "ObservableSingleStageObserver.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/rxjava3/internal/jdk8/q<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Z
.field public final d:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(ZLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"hasDefault",
"defaultItem"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZTT;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;-><init>()V
.line 2
iput-boolean p1, p0, Lio/reactivex/rxjava3/internal/jdk8/p;->c:Z
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/p;->d:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/CompletableFuture;->isDone()Z
move-result v0
if-nez v0, :cond_2
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
.line 3
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->a()V
if-eqz v0, :cond_0
.line 4
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 5
:cond_0
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/p;->c:Z
if-eqz v0, :cond_1
.line 6
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/p;->d:Ljava/lang/Object;
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->complete(Ljava/lang/Object;)Z
goto :goto_0
.line 7
:cond_1
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
invoke-virtual {p0, v0}, Lio/reactivex/rxjava3/internal/jdk8/q;->completeExceptionally(Ljava/lang/Throwable;)Z
:cond_2
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
.line 3
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Sequence contains more than one element!"
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/q;->completeExceptionally(Ljava/lang/Throwable;)Z
goto :goto_0
.line 4
:cond_0
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
:goto_0
return-void
.end method
@@ -0,0 +1,212 @@
.class public abstract Lio/reactivex/rxjava3/internal/jdk8/q;
.super Ljava/util/concurrent/CompletableFuture;
.source "ObservableStageObserver.java"
# interfaces
.implements Lai/n0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/CompletableFuture<",
"TT;>;",
"Lai/n0<",
"TT;>;"
}
.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/rxjava3/disposables/c;",
">;"
}
.end annotation
.end field
.field public b:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/util/concurrent/CompletableFuture;-><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/rxjava3/internal/jdk8/q;->a:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
# virtual methods
.method public final a()V
.locals 2
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->b:Ljava/lang/Object;
.line 2
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->a:Ljava/util/concurrent/atomic/AtomicReference;
sget-object v1, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
return-void
.end method
.method public final b()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public final cancel(Z)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"mayInterruptIfRunning"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->b()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->cancel(Z)Z
move-result p1
return p1
.end method
.method public final complete(Ljava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"value"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->b()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->complete(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public final completeExceptionally(Ljava/lang/Throwable;)Z
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"ex"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->b()V
.line 2
invoke-super {p0, p1}, Ljava/util/concurrent/CompletableFuture;->completeExceptionally(Ljava/lang/Throwable;)Z
move-result p1
return p1
.end method
.method public final onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/q;->a()V
.line 2
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/q;->completeExceptionally(Ljava/lang/Throwable;)Z
move-result v0
if-nez v0, :cond_0
.line 3
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
.method public final onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V
.locals 1
.param p1 # Lio/reactivex/rxjava3/disposables/c;
.annotation build Lio/reactivex/rxjava3/annotations/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"d"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/q;->a:Ljava/util/concurrent/atomic/AtomicReference;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/disposables/DisposableHelper;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/rxjava3/disposables/c;)Z
return-void
.end method
@@ -0,0 +1,166 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/r;
.super Lii/a;
.source "ParallelFlatMapStream.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Lii/a<",
"TR;>;"
}
.end annotation
# instance fields
.field public final a:Lii/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lii/a<",
"TT;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;"
}
.end annotation
.end field
.field public final c:I
# direct methods
.method public constructor <init>(Lii/a;Lci/o;I)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0,
0x0
}
names = {
"source",
"mapper",
"prefetch"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lii/a<",
"TT;>;",
"Lci/o<",
"-TT;+",
"Ljava/util/stream/Stream<",
"+TR;>;>;I)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lii/a;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->a:Lii/a;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->b:Lci/o;
.line 4
iput p3, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->c:I
return-void
.end method
# virtual methods
.method public M()I
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->a:Lii/a;
invoke-virtual {v0}, Lii/a;->M()I
move-result v0
return v0
.end method
.method public X([Lok/d;)V
.locals 6
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"subscribers"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Lok/d<",
"-TR;>;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lii/a;->b0([Lok/d;)Z
move-result v0
if-nez v0, :cond_0
return-void
.line 2
:cond_0
array-length v0, p1
.line 3
new-array v1, v0, [Lok/d;
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_1
.line 4
aget-object v3, p1, v2
iget-object v4, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->b:Lci/o;
iget v5, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->c:I
invoke-static {v3, v4, v5}, Lio/reactivex/rxjava3/internal/jdk8/FlowableFlatMapStream;->n9(Lok/d;Lci/o;I)Lok/d;
move-result-object v3
aput-object v3, v1, v2
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 5
:cond_1
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/r;->a:Lii/a;
invoke-virtual {p1, v1}, Lii/a;->X([Lok/d;)V
return-void
.end method
@@ -0,0 +1,337 @@
.class public final Lio/reactivex/rxjava3/internal/jdk8/s$a;
.super Ljava/lang/Object;
.source "ParallelMapOptional.java"
# interfaces
.implements Lei/c;
.implements Lok/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/rxjava3/internal/jdk8/s;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lei/c<",
"TT;>;",
"Lok/e;"
}
.end annotation
# instance fields
.field public final a:Lei/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lei/c<",
"-TR;>;"
}
.end annotation
.end field
.field public final b:Lci/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;"
}
.end annotation
.end field
.field public c:Lok/e;
.field public d:Z
# direct methods
.method public constructor <init>(Lei/c;Lci/o;)V
.locals 0
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"actual",
"mapper"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lei/c<",
"-TR;>;",
"Lci/o<",
"-TT;",
"Ljava/util/Optional<",
"+TR;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->a:Lei/c;
.line 3
iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->b:Lci/o;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->c:Lok/e;
invoke-interface {v0}, Lok/e;->cancel()V
return-void
.end method
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->d:Z
if-eqz v0, :cond_0
return-void
:cond_0
const/4 v0, 0x1
.line 2
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->d:Z
.line 3
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->a:Lei/c;
invoke-interface {v0}, Lok/d;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->d:Z
if-eqz v0, :cond_0
.line 2
invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V
return-void
:cond_0
const/4 v0, 0x1
.line 3
iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->d:Z
.line 4
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->a:Lei/c;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/s$a;->tryOnNext(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_0
.line 2
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->c:Lok/e;
const-wide/16 v0, 0x1
invoke-interface {p1, v0, v1}, Lok/e;->request(J)V
:cond_0
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"s"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->c:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 2
iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->c:Lok/e;
.line 3
iget-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->a:Lei/c;
invoke-interface {p1, p0}, Lai/r;->onSubscribe(Lok/e;)V
:cond_0
return-void
.end method
.method public request(J)V
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"n"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->c:Lok/e;
invoke-interface {v0, p1, p2}, Lok/e;->request(J)V
return-void
.end method
.method public tryOnNext(Ljava/lang/Object;)Z
.locals 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"t"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->d:Z
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
.line 2
:cond_0
:try_start_0
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->b:Lci/o;
invoke-interface {v0, p1}, Lci/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null value"
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast p1, Ljava/util/Optional;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 3
invoke-virtual {p1}, Ljava/util/Optional;->isPresent()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/s$a;->a:Lei/c;
invoke-virtual {p1}, Ljava/util/Optional;->get()Ljava/lang/Object;
move-result-object p1
invoke-interface {v0, p1}, Lei/c;->tryOnNext(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
const/4 v1, 0x1
:cond_1
return v1
:catchall_0
move-exception p1
.line 4
invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 5
invoke-virtual {p0}, Lio/reactivex/rxjava3/internal/jdk8/s$a;->cancel()V
.line 6
invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/s$a;->onError(Ljava/lang/Throwable;)V
return v1
.end method

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