x$a.smali
.class final Lio/reactivex/internal/operators/observable/x$a;
.super Lio/reactivex/internal/observers/a;
.source "ObservableDistinctUntilChanged.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/x;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"K:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/observers/a<",
"TT;TT;>;"
}
.end annotation
# instance fields
.field final f:Lio/reactivex/b/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/o<",
"-TT;TK;>;"
}
.end annotation
.end field
.field final g:Lio/reactivex/b/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/d<",
"-TK;-TK;>;"
}
.end annotation
.end field
.field h:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TK;"
}
.end annotation
.end field
.field i:Z
# direct methods
.method constructor <init>(Lio/reactivex/w;Lio/reactivex/b/o;Lio/reactivex/b/d;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/w<",
"-TT;>;",
"Lio/reactivex/b/o<",
"-TT;TK;>;",
"Lio/reactivex/b/d<",
"-TK;-TK;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/internal/observers/a;-><init>(Lio/reactivex/w;)V
.line 2
iput-object p2, p0, Lio/reactivex/internal/operators/observable/x$a;->f:Lio/reactivex/b/o;
.line 3
iput-object p3, p0, Lio/reactivex/internal/operators/observable/x$a;->g:Lio/reactivex/b/d;
return-void
.end method
# virtual methods
.method public onNext(Ljava/lang/Object;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/observers/a;->d:Z
if-eqz v0, :cond_5
return-void
.line 2
:cond_5
iget v0, p0, Lio/reactivex/internal/observers/a;->e:I
if-eqz v0, :cond_f
.line 3
iget-object v0, p0, Lio/reactivex/internal/observers/a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onNext(Ljava/lang/Object;)V
return-void
.line 4
:cond_f
:try_start_f
iget-object v0, p0, Lio/reactivex/internal/operators/observable/x$a;->f:Lio/reactivex/b/o;
invoke-interface {v0, p1}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 5
iget-boolean v1, p0, Lio/reactivex/internal/operators/observable/x$a;->i:Z
if-eqz v1, :cond_26
.line 6
iget-object v1, p0, Lio/reactivex/internal/operators/observable/x$a;->g:Lio/reactivex/b/d;
iget-object v2, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
invoke-interface {v1, v2, v0}, Lio/reactivex/b/d;->test(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
.line 7
iput-object v0, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
if-eqz v1, :cond_2b
return-void
:cond_26
const/4 v1, 0x1
.line 8
iput-boolean v1, p0, Lio/reactivex/internal/operators/observable/x$a;->i:Z
.line 9
iput-object v0, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
:try_end_2b
.catch Ljava/lang/Throwable; {:try_start_f .. :try_end_2b} :catch_31
.line 10
:cond_2b
iget-object v0, p0, Lio/reactivex/internal/observers/a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onNext(Ljava/lang/Object;)V
return-void
:catch_31
move-exception p1
.line 11
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/a;->a(Ljava/lang/Throwable;)V
return-void
.end method
.method public poll()Ljava/lang/Object;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
:goto_0
iget-object v0, p0, Lio/reactivex/internal/observers/a;->c:Lio/reactivex/c/a/f;
invoke-interface {v0}, Lio/reactivex/c/a/k;->poll()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_a
const/4 v0, 0x0
return-object v0
.line 2
:cond_a
iget-object v1, p0, Lio/reactivex/internal/operators/observable/x$a;->f:Lio/reactivex/b/o;
invoke-interface {v1, v0}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
.line 3
iget-boolean v2, p0, Lio/reactivex/internal/operators/observable/x$a;->i:Z
if-nez v2, :cond_1a
const/4 v2, 0x1
.line 4
iput-boolean v2, p0, Lio/reactivex/internal/operators/observable/x$a;->i:Z
.line 5
iput-object v1, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
return-object v0
.line 6
:cond_1a
iget-object v2, p0, Lio/reactivex/internal/operators/observable/x$a;->g:Lio/reactivex/b/d;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
invoke-interface {v2, v3, v1}, Lio/reactivex/b/d;->test(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_27
.line 7
iput-object v1, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
return-object v0
.line 8
:cond_27
iput-object v1, p0, Lio/reactivex/internal/operators/observable/x$a;->h:Ljava/lang/Object;
goto :goto_0
.end method
.method public requestFusion(I)I
.registers 2
.line 1
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/a;->a(I)I
move-result p1
return p1
.end method