Package rx.internal.operators
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 java.lang.Object implements Observable.OnSubscribe<T>
Converts anIterablesequence into anObservable.
You can convert any object that supports the Iterable interface into an Observable that emits each item in the object, with the
toObservableoperation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classOnSubscribeFromIterable.IterableProducer<T>
-
Constructor Summary
Constructors Constructor Description OnSubscribeFromIterable(java.lang.Iterable<? extends T> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(Subscriber<? super T> o)
-