T
- the value type of the itemspublic final class OnSubscribeFromIterable<T> extends Object implements Observable.OnSubscribe<T>
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.
Constructor and Description |
---|
OnSubscribeFromIterable(Iterable<? extends T> iterable) |
public void call(Subscriber<? super T> o)
call
in interface Action1<Subscriber<? super T>>
Copyright © 2017. All rights reserved.