T - the element type to iteratepublic final class ToIterable<T> extends ObservableToIterableAdapter<T,T>
The resulting iterable does not support the remove() method.
observable| Constructor and Description |
|---|
ToIterable(rx.Observable<? extends T> observable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ObserverToIteratorSink<T,T> |
run(rx.Subscription handle)
The factory method to return an iterator and hand over the close handle
to the original registration to the source.
|
iteratorpublic ToIterable(rx.Observable<? extends T> observable)
observable - the observable to convertprotected ObserverToIteratorSink<T,T> run(rx.Subscription handle)
ObservableToIterableAdapterrun in class ObservableToIterableAdapter<T,T>handle - the close handle