256 lines
5.8 KiB
Smali
256 lines
5.8 KiB
Smali
.class public final Lio/reactivex/internal/operators/observable/e0$a;
|
|
.super Ljava/lang/Object;
|
|
.source "ObservableElementAtSingle.java"
|
|
|
|
# interfaces
|
|
.implements Lkh/g0;
|
|
.implements Lio/reactivex/disposables/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lio/reactivex/internal/operators/observable/e0;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lkh/g0<",
|
|
"TT;>;",
|
|
"Lio/reactivex/disposables/b;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lkh/l0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkh/l0<",
|
|
"-TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:J
|
|
|
|
.field public final c:Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"TT;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public d:Lio/reactivex/disposables/b;
|
|
|
|
.field public e:J
|
|
|
|
.field public f:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/l0;JLjava/lang/Object;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/l0<",
|
|
"-TT;>;JTT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/observable/e0$a;->a:Lkh/l0;
|
|
|
|
.line 3
|
|
iput-wide p2, p0, Lio/reactivex/internal/operators/observable/e0$a;->b:J
|
|
|
|
.line 4
|
|
iput-object p4, p0, Lio/reactivex/internal/operators/observable/e0$a;->c:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispose()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->d:Lio/reactivex/disposables/b;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isDisposed()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->d:Lio/reactivex/disposables/b;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onComplete()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->f:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->f:Z
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->c:Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/observable/e0$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {v1, v0}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->a:Lkh/l0;
|
|
|
|
new-instance v1, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-direct {v1}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
invoke-interface {v0, v1}, Lkh/l0;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onError(Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->f:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 3
|
|
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->f:Z
|
|
|
|
.line 4
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {v0, p1}, Lkh/l0;->onError(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNext(Ljava/lang/Object;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->f:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-wide v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->e:J
|
|
|
|
.line 3
|
|
iget-wide v2, p0, Lio/reactivex/internal/operators/observable/e0$a;->b:J
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->f:Z
|
|
|
|
.line 5
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->d:Lio/reactivex/disposables/b;
|
|
|
|
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
|
|
|
|
.line 6
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {v0, p1}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const-wide/16 v2, 0x1
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
.line 7
|
|
iput-wide v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->e:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSubscribe(Lio/reactivex/disposables/b;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/observable/e0$a;->d:Lio/reactivex/disposables/b;
|
|
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lio/reactivex/internal/operators/observable/e0$a;->d:Lio/reactivex/disposables/b;
|
|
|
|
.line 3
|
|
iget-object p1, p0, Lio/reactivex/internal/operators/observable/e0$a;->a:Lkh/l0;
|
|
|
|
invoke-interface {p1, p0}, Lkh/l0;->onSubscribe(Lio/reactivex/disposables/b;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|