Package rx.internal.operators
Class BlockingOperatorToIterator
- java.lang.Object
-
- rx.internal.operators.BlockingOperatorToIterator
-
public final class BlockingOperatorToIterator extends java.lang.ObjectReturns an Iterator that iterates over all items emitted by a specified Observable.
- See Also:
- Issue #50
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockingOperatorToIterator.SubscriberIterator<T>
-
Constructor Summary
Constructors Modifier Constructor Description privateBlockingOperatorToIterator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.Iterator<T>toIterator(Observable<? extends T> source)Returns an iterator that iterates all values of the observable.
-
-
-
Method Detail
-
toIterator
public static <T> java.util.Iterator<T> toIterator(Observable<? extends T> source)
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.
-
-