290 lines
7.6 KiB
Smali
290 lines
7.6 KiB
Smali
.class public final Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;
|
|
.super Lio/reactivex/internal/operators/observable/a;
|
|
.source "ObservableWithLatestFromMany.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$a;,
|
|
Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$WithLatestInnerObserver;,
|
|
Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$WithLatestFromObserver;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lio/reactivex/internal/operators/observable/a<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final b:[Lkh/e0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"[",
|
|
"Lkh/e0<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/annotations/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Ljava/lang/Iterable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Iterable<",
|
|
"+",
|
|
"Lkh/e0<",
|
|
"*>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/annotations/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Lph/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/o<",
|
|
"-[",
|
|
"Ljava/lang/Object;",
|
|
"TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/e0;Ljava/lang/Iterable;Lph/o;)V
|
|
.locals 0
|
|
.param p1 # Lkh/e0;
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/Iterable;
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lph/o;
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/e0<",
|
|
"TT;>;",
|
|
"Ljava/lang/Iterable<",
|
|
"+",
|
|
"Lkh/e0<",
|
|
"*>;>;",
|
|
"Lph/o<",
|
|
"-[",
|
|
"Ljava/lang/Object;",
|
|
"TR;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 5
|
|
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/a;-><init>(Lkh/e0;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 6
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->b:[Lkh/e0;
|
|
|
|
.line 7
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->c:Ljava/lang/Iterable;
|
|
|
|
.line 8
|
|
iput-object p3, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->d:Lph/o;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lkh/e0;[Lkh/e0;Lph/o;)V
|
|
.locals 0
|
|
.param p1 # Lkh/e0;
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # [Lkh/e0;
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lph/o;
|
|
.annotation build Lio/reactivex/annotations/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/e0<",
|
|
"TT;>;[",
|
|
"Lkh/e0<",
|
|
"*>;",
|
|
"Lph/o<",
|
|
"-[",
|
|
"Ljava/lang/Object;",
|
|
"TR;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/a;-><init>(Lkh/e0;)V
|
|
|
|
.line 2
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->b:[Lkh/e0;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 3
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->c:Ljava/lang/Iterable;
|
|
|
|
.line 4
|
|
iput-object p3, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->d:Lph/o;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public subscribeActual(Lkh/g0;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/g0<",
|
|
"-TR;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->b:[Lkh/e0;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
new-array v0, v0, [Lkh/e0;
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->c:Ljava/lang/Iterable;
|
|
|
|
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lkh/e0;
|
|
|
|
.line 3
|
|
array-length v4, v0
|
|
|
|
if-ne v2, v4, :cond_0
|
|
|
|
shr-int/lit8 v4, v2, 0x1
|
|
|
|
add-int/2addr v4, v2
|
|
|
|
.line 4
|
|
invoke-static {v0, v4}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lkh/e0;
|
|
|
|
:cond_0
|
|
add-int/lit8 v4, v2, 0x1
|
|
|
|
.line 5
|
|
aput-object v3, v0, v2
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
move v2, v4
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 6
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 7
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/g0;)V
|
|
|
|
return-void
|
|
|
|
.line 8
|
|
:cond_1
|
|
array-length v2, v0
|
|
|
|
:cond_2
|
|
if-nez v2, :cond_3
|
|
|
|
.line 9
|
|
new-instance v0, Lio/reactivex/internal/operators/observable/x0;
|
|
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/observable/a;->a:Lkh/e0;
|
|
|
|
new-instance v2, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$a;
|
|
|
|
invoke-direct {v2, p0}, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$a;-><init>(Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;)V
|
|
|
|
invoke-direct {v0, v1, v2}, Lio/reactivex/internal/operators/observable/x0;-><init>(Lkh/e0;Lph/o;)V
|
|
|
|
invoke-virtual {v0, p1}, Lio/reactivex/internal/operators/observable/x0;->subscribeActual(Lkh/g0;)V
|
|
|
|
return-void
|
|
|
|
.line 10
|
|
:cond_3
|
|
new-instance v1, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$WithLatestFromObserver;
|
|
|
|
iget-object v3, p0, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany;->d:Lph/o;
|
|
|
|
invoke-direct {v1, p1, v3, v2}, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$WithLatestFromObserver;-><init>(Lkh/g0;Lph/o;I)V
|
|
|
|
.line 11
|
|
invoke-interface {p1, v1}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V
|
|
|
|
.line 12
|
|
invoke-virtual {v1, v0, v2}, Lio/reactivex/internal/operators/observable/ObservableWithLatestFromMany$WithLatestFromObserver;->subscribe([Lkh/e0;I)V
|
|
|
|
.line 13
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/observable/a;->a:Lkh/e0;
|
|
|
|
invoke-interface {p1, v1}, Lkh/e0;->subscribe(Lkh/g0;)V
|
|
|
|
return-void
|
|
.end method
|