217 lines
5.5 KiB
Smali
217 lines
5.5 KiB
Smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableGroupBy;
|
|
.super Lio/reactivex/internal/operators/flowable/a;
|
|
.source "FlowableGroupBy.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/internal/operators/flowable/FlowableGroupBy$State;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableGroupBy$b;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableGroupBy$a;,
|
|
Lio/reactivex/internal/operators/flowable/FlowableGroupBy$GroupBySubscriber;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lio/reactivex/internal/operators/flowable/a<",
|
|
"TT;",
|
|
"Loh/b<",
|
|
"TK;TV;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Lph/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/o<",
|
|
"-TT;+TK;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Lph/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/o<",
|
|
"-TT;+TV;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:I
|
|
|
|
.field public final f:Z
|
|
|
|
.field public final g:Lph/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/o<",
|
|
"-",
|
|
"Lph/g<",
|
|
"Ljava/lang/Object;",
|
|
">;+",
|
|
"Ljava/util/Map<",
|
|
"TK;",
|
|
"Ljava/lang/Object;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/j;Lph/o;Lph/o;IZLph/o;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/j<",
|
|
"TT;>;",
|
|
"Lph/o<",
|
|
"-TT;+TK;>;",
|
|
"Lph/o<",
|
|
"-TT;+TV;>;IZ",
|
|
"Lph/o<",
|
|
"-",
|
|
"Lph/g<",
|
|
"Ljava/lang/Object;",
|
|
">;+",
|
|
"Ljava/util/Map<",
|
|
"TK;",
|
|
"Ljava/lang/Object;",
|
|
">;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/flowable/a;-><init>(Lkh/j;)V
|
|
|
|
.line 2
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->c:Lph/o;
|
|
|
|
.line 3
|
|
iput-object p3, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->d:Lph/o;
|
|
|
|
.line 4
|
|
iput p4, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->e:I
|
|
|
|
.line 5
|
|
iput-boolean p5, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->f:Z
|
|
|
|
.line 6
|
|
iput-object p6, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->g:Lph/o;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public g6(Lok/d;)V
|
|
.locals 10
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lok/d<",
|
|
"-",
|
|
"Loh/b<",
|
|
"TK;TV;>;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->g:Lph/o;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
new-instance v1, Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
invoke-direct {v1}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
:goto_0
|
|
move-object v9, v0
|
|
|
|
move-object v8, v1
|
|
|
|
goto :goto_1
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance v0, Ljava/util/concurrent/ConcurrentLinkedQueue;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentLinkedQueue;-><init>()V
|
|
|
|
.line 4
|
|
new-instance v1, Lio/reactivex/internal/operators/flowable/FlowableGroupBy$a;
|
|
|
|
invoke-direct {v1, v0}, Lio/reactivex/internal/operators/flowable/FlowableGroupBy$a;-><init>(Ljava/util/Queue;)V
|
|
|
|
.line 5
|
|
iget-object v2, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->g:Lph/o;
|
|
|
|
invoke-interface {v2, v1}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/util/Map;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:goto_1
|
|
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy$GroupBySubscriber;
|
|
|
|
iget-object v4, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->c:Lph/o;
|
|
|
|
iget-object v5, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->d:Lph/o;
|
|
|
|
iget v6, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->e:I
|
|
|
|
iget-boolean v7, p0, Lio/reactivex/internal/operators/flowable/FlowableGroupBy;->f:Z
|
|
|
|
move-object v2, v0
|
|
|
|
move-object v3, p1
|
|
|
|
invoke-direct/range {v2 .. v9}, Lio/reactivex/internal/operators/flowable/FlowableGroupBy$GroupBySubscriber;-><init>(Lok/d;Lph/o;Lph/o;IZLjava/util/Map;Ljava/util/Queue;)V
|
|
|
|
.line 7
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/flowable/a;->b:Lkh/j;
|
|
|
|
invoke-virtual {p1, v0}, Lkh/j;->f6(Lkh/o;)V
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 8
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 9
|
|
sget-object v1, Lio/reactivex/internal/util/EmptyComponent;->INSTANCE:Lio/reactivex/internal/util/EmptyComponent;
|
|
|
|
invoke-interface {p1, v1}, Lok/d;->onSubscribe(Lok/e;)V
|
|
|
|
.line 10
|
|
invoke-interface {p1, v0}, Lok/d;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|