w.smali
.class public final Lio/reactivex/internal/operators/observable/w;
.super Lio/reactivex/internal/operators/observable/a;
.source "ObservableDistinct.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/w$a;
}
.end annotation
.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 final b:Lio/reactivex/b/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/o<",
"-TT;TK;>;"
}
.end annotation
.end field
.field final c:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+",
"Ljava/util/Collection<",
"-TK;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/u;Lio/reactivex/b/o;Ljava/util/concurrent/Callable;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/u<",
"TT;>;",
"Lio/reactivex/b/o<",
"-TT;TK;>;",
"Ljava/util/concurrent/Callable<",
"+",
"Ljava/util/Collection<",
"-TK;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/a;-><init>(Lio/reactivex/u;)V
.line 2
iput-object p2, p0, Lio/reactivex/internal/operators/observable/w;->b:Lio/reactivex/b/o;
.line 3
iput-object p3, p0, Lio/reactivex/internal/operators/observable/w;->c:Ljava/util/concurrent/Callable;
return-void
.end method
# virtual methods
.method protected subscribeActual(Lio/reactivex/w;)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/w<",
"-TT;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/w;->c: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/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
check-cast v0, Ljava/util/Collection;
:try_end_d
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_d} :catch_1a
.line 2
iget-object v1, p0, Lio/reactivex/internal/operators/observable/a;->a:Lio/reactivex/u;
new-instance v2, Lio/reactivex/internal/operators/observable/w$a;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/w;->b:Lio/reactivex/b/o;
invoke-direct {v2, p1, v3, v0}, Lio/reactivex/internal/operators/observable/w$a;-><init>(Lio/reactivex/w;Lio/reactivex/b/o;Ljava/util/Collection;)V
invoke-interface {v1, v2}, Lio/reactivex/u;->subscribe(Lio/reactivex/w;)V
return-void
:catch_1a
move-exception v0
.line 3
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/w;)V
return-void
.end method