.class public final Lio/reactivex/internal/operators/observable/i0$a; .super Ljava/lang/Object; .source "ObservableFlattenIterable.java" # interfaces .implements Lkh/g0; .implements Lio/reactivex/disposables/b; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/internal/operators/observable/i0; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "a" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lkh/g0<", "TT;>;", "Lio/reactivex/disposables/b;" } .end annotation # instance fields .field public final a:Lkh/g0; .annotation system Ldalvik/annotation/Signature; value = { "Lkh/g0<", "-TR;>;" } .end annotation .end field .field public final b:Lph/o; .annotation system Ldalvik/annotation/Signature; value = { "Lph/o<", "-TT;+", "Ljava/lang/Iterable<", "+TR;>;>;" } .end annotation .end field .field public c:Lio/reactivex/disposables/b; # direct methods .method public constructor (Lkh/g0;Lph/o;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkh/g0<", "-TR;>;", "Lph/o<", "-TT;+", "Ljava/lang/Iterable<", "+TR;>;>;)V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lio/reactivex/internal/operators/observable/i0$a;->a:Lkh/g0; .line 3 iput-object p2, p0, Lio/reactivex/internal/operators/observable/i0$a;->b:Lph/o; return-void .end method # virtual methods .method public dispose()V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V .line 2 sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper; iput-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; return-void .end method .method public isDisposed()Z .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$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/i0$a;->c:Lio/reactivex/disposables/b; sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper; if-ne v0, v1, :cond_0 return-void .line 2 :cond_0 iput-object v1, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; .line 3 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->a:Lkh/g0; invoke-interface {v0}, Lkh/g0;->onComplete()V return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 2 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper; if-ne v0, v1, :cond_0 .line 2 invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V return-void .line 3 :cond_0 iput-object v1, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; .line 4 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->a:Lkh/g0; invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onNext(Ljava/lang/Object;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper; if-ne v0, v1, :cond_0 return-void .line 2 :cond_0 :try_start_0 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->b:Lph/o; invoke-interface {v0, p1}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Ljava/lang/Iterable; invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_2 .line 3 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->a:Lkh/g0; .line 4 :goto_0 :try_start_1 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v1 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_1 if-eqz v1, :cond_1 .line 5 :try_start_2 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 const-string v2, "The iterator returned a null value" invoke-static {v1, v2}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; move-result-object v1 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 .line 6 invoke-interface {v0, v1}, Lkh/g0;->onNext(Ljava/lang/Object;)V goto :goto_0 :catchall_0 move-exception p1 .line 7 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 8 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V .line 9 invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/observable/i0$a;->onError(Ljava/lang/Throwable;)V :cond_1 return-void :catchall_1 move-exception p1 .line 10 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 11 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V .line 12 invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/observable/i0$a;->onError(Ljava/lang/Throwable;)V return-void :catchall_2 move-exception p1 .line 13 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 14 iget-object v0, p0, Lio/reactivex/internal/operators/observable/i0$a;->c:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V .line 15 invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/observable/i0$a;->onError(Ljava/lang/Throwable;)V 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/i0$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/i0$a;->c:Lio/reactivex/disposables/b; .line 3 iget-object p1, p0, Lio/reactivex/internal/operators/observable/i0$a;->a:Lkh/g0; invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V :cond_0 return-void .end method