Package rx.internal.operators
Class BlockingOperatorToIterator
java.lang.Object
rx.internal.operators.BlockingOperatorToIterator
Returns an Iterator that iterates over all items emitted by a specified Observable.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Iterator
<T> toIterator
(Observable<? extends T> source) Returns an iterator that iterates all values of the observable.
-
Constructor Details
-
BlockingOperatorToIterator
private BlockingOperatorToIterator()
-
-
Method Details
-
toIterator
Returns an iterator that iterates all values of the observable.- Type Parameters:
T
- the type of source.- Parameters:
source
- the source Observable- Returns:
- the iterator that could be used to iterate over the elements of the observable.
-