bg.smali
.class public final Lio/reactivex/internal/operators/observable/bg;
.super Lio/reactivex/internal/operators/observable/a;
.source "ObservableDistinct.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"K:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/operators/observable/a",
"<TT;TT;>;"
}
.end annotation
# instance fields
.field private bPW:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable",
"<+",
"Ljava/util/Collection",
"<-TK;>;>;"
}
.end annotation
.end field
.field private keySelector:Lio/reactivex/b/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/h",
"<-TT;TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/p;Lio/reactivex/b/h;Ljava/util/concurrent/Callable;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/p",
"<TT;>;",
"Lio/reactivex/b/h",
"<-TT;TK;>;",
"Ljava/util/concurrent/Callable",
"<+",
"Ljava/util/Collection",
"<-TK;>;>;)V"
}
.end annotation
.prologue
.line 35
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/a;-><init>(Lio/reactivex/p;)V
.line 36
iput-object p2, p0, Lio/reactivex/internal/operators/observable/bg;->keySelector:Lio/reactivex/b/h;
.line 37
iput-object p3, p0, Lio/reactivex/internal/operators/observable/bg;->bPW:Ljava/util/concurrent/Callable;
.line 38
return-void
.end method
# virtual methods
.method protected final subscribeActual(Lio/reactivex/r;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/r",
"<-TT;>;)V"
}
.end annotation
.prologue
.line 45
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/bg;->bPW:Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
const-string v1, "The collectionSupplier returned a null collection. Null values are generally not allowed in 2.x operators and sources."
invoke-static {v0, v1}, Lio/reactivex/internal/functions/aj;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Collection;
:try_end_e
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_e} :catch_1b
.line 52
iget-object v1, p0, Lio/reactivex/internal/operators/observable/bg;->source:Lio/reactivex/p;
new-instance v2, Lio/reactivex/internal/operators/observable/bh;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/bg;->keySelector:Lio/reactivex/b/h;
invoke-direct {v2, p1, v3, v0}, Lio/reactivex/internal/operators/observable/bh;-><init>(Lio/reactivex/r;Lio/reactivex/b/h;Ljava/util/Collection;)V
invoke-interface {v1, v2}, Lio/reactivex/p;->subscribe(Lio/reactivex/r;)V
.line 53
:goto_1a
return-void
.line 46
:catch_1b
move-exception v0
.line 47
invoke-static {v0}, Lio/reactivex/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V
.line 48
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/r;)V
goto :goto_1a
.end method