T - the element typepublic static class Invoke.OnNextFinish<T> extends java.lang.Object implements Observable<T>
| Constructor and Description |
|---|
OnNextFinish(Observable<? extends T> source,
Action1<? super T> onNext,
Action0 onFinish)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public OnNextFinish(@Nonnull
Observable<? extends T> source,
@Nonnull
Action1<? super T> onNext,
@Nonnull
Action0 onFinish)
source - the source sequenceonNext - the action to invokeonFinish - the finish action to invoke@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super T> observer)
Observableregister in interface Observable<T>observer - the observer of Ts or any supertype of it