Class OnSubscribeFromIterable<T>

java.lang.Object
rx.internal.operators.OnSubscribeFromIterable<T>
Type Parameters:
T - the value type of the items
All Implemented Interfaces:
Action, Action1<Subscriber<? super T>>, Function, Observable.OnSubscribe<T>

public final class OnSubscribeFromIterable<T> extends Object implements Observable.OnSubscribe<T>
Converts an Iterable sequence into an Observable.

You can convert any object that supports the Iterable interface into an Observable that emits each item in the object, with the toObservable operation.

  • Field Details

  • Constructor Details

    • OnSubscribeFromIterable

      public OnSubscribeFromIterable(Iterable<? extends T> iterable)
  • Method Details