.class public final Lio/reactivex/internal/operators/flowable/FlowableFromIterable; .super Lkh/j; .source "FlowableFromIterable.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lio/reactivex/internal/operators/flowable/FlowableFromIterable$IteratorConditionalSubscription;, Lio/reactivex/internal/operators/flowable/FlowableFromIterable$IteratorSubscription;, Lio/reactivex/internal/operators/flowable/FlowableFromIterable$BaseRangeSubscription; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lkh/j<", "TT;>;" } .end annotation # instance fields .field public final b:Ljava/lang/Iterable; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Iterable<", "+TT;>;" } .end annotation .end field # direct methods .method public constructor (Ljava/lang/Iterable;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;)V" } .end annotation .line 1 invoke-direct {p0}, Lkh/j;->()V .line 2 iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableFromIterable;->b:Ljava/lang/Iterable; return-void .end method .method public static I8(Lok/d;Ljava/util/Iterator;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "-TT;>;", "Ljava/util/Iterator<", "+TT;>;)V" } .end annotation .line 1 :try_start_0 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-nez v0, :cond_0 .line 2 invoke-static {p0}, Lio/reactivex/internal/subscriptions/EmptySubscription;->complete(Lok/d;)V return-void .line 3 :cond_0 instance-of v0, p0, Lrh/a; if-eqz v0, :cond_1 .line 4 new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableFromIterable$IteratorConditionalSubscription; move-object v1, p0 check-cast v1, Lrh/a; invoke-direct {v0, v1, p1}, Lio/reactivex/internal/operators/flowable/FlowableFromIterable$IteratorConditionalSubscription;->(Lrh/a;Ljava/util/Iterator;)V invoke-interface {p0, v0}, Lok/d;->onSubscribe(Lok/e;)V goto :goto_0 .line 5 :cond_1 new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableFromIterable$IteratorSubscription; invoke-direct {v0, p0, p1}, Lio/reactivex/internal/operators/flowable/FlowableFromIterable$IteratorSubscription;->(Lok/d;Ljava/util/Iterator;)V invoke-interface {p0, v0}, Lok/d;->onSubscribe(Lok/e;)V :goto_0 return-void :catchall_0 move-exception p1 .line 6 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 7 invoke-static {p1, p0}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V return-void .end method # virtual methods .method public g6(Lok/d;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "-TT;>;)V" } .end annotation .line 1 :try_start_0 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableFromIterable;->b:Ljava/lang/Iterable; invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 2 invoke-static {p1, v0}, Lio/reactivex/internal/operators/flowable/FlowableFromIterable;->I8(Lok/d;Ljava/util/Iterator;)V return-void :catchall_0 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/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V return-void .end method