2022-06-10 21:38:30 +09:00

179 lines
4.2 KiB
Smali

.class public final Lio/reactivex/internal/operators/observable/v1$a;
.super Ljava/lang/Object;
.source "ObservableToListSingle.java"
# interfaces
.implements Lkh/g0;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/v1;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U::",
"Ljava/util/Collection<",
"-TT;>;>",
"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<",
"-TU;>;"
}
.end annotation
.end field
.field public b:Ljava/util/Collection;
.annotation system Ldalvik/annotation/Signature;
value = {
"TU;"
}
.end annotation
.end field
.field public c:Lio/reactivex/disposables/b;
# direct methods
.method public constructor <init>(Lkh/l0;Ljava/util/Collection;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/l0<",
"-TU;>;TU;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/v1$a;->a:Lkh/l0;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/v1$a;->b:Ljava/util/Collection;
return-void
.end method
# virtual methods
.method public dispose()V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/v1$a;->c: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/v1$a;->c: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-object v0, p0, Lio/reactivex/internal/operators/observable/v1$a;->b:Ljava/util/Collection;
const/4 v1, 0x0
.line 2
iput-object v1, p0, Lio/reactivex/internal/operators/observable/v1$a;->b:Ljava/util/Collection;
.line 3
iget-object v1, p0, Lio/reactivex/internal/operators/observable/v1$a;->a:Lkh/l0;
invoke-interface {v1, v0}, Lkh/l0;->onSuccess(Ljava/lang/Object;)V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lio/reactivex/internal/operators/observable/v1$a;->b:Ljava/util/Collection;
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/observable/v1$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 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/v1$a;->b:Ljava/util/Collection;
invoke-interface {v0, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
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/v1$a;->c: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/v1$a;->c:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lio/reactivex/internal/operators/observable/v1$a;->a:Lkh/l0;
invoke-interface {p1, p0}, Lkh/l0;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_0
return-void
.end method