T - the iterable's element typeU - the observable's element typeV - the result element typepublic static class Zip.ObservableAndIterable<T,U,V> extends java.lang.Object implements Observable<V>
The resulting sequence terminates if no more pairs can be established, i.e., streams of length 1 and 2 zipped will produce only 1 item.
Exception semantics: errors from the source observable are propagated as-is.
| Constructor and Description |
|---|
ObservableAndIterable(Observable<? extends T> left,
java.lang.Iterable<? extends U> right,
Func2<? super T,? super U,? extends V> selector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super V> observer)
Registers an observer for the notification of Ts.
|
@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super V> observer)
Observableregister in interface Observable<V>observer - the observer of Ts or any supertype of it