K - the key typeR - the value typepublic static final class OperatorGroupByUntil.GroupSubject<K,R> extends Subscriber<R>
| Constructor and Description |
|---|
OperatorGroupByUntil.GroupSubject(K key,
Subject<R,R> publish) |
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
Notifies the Observer that the
Observable has finished sending push-based notifications. |
void |
onError(java.lang.Throwable e)
Notifies the Observer that the
Observable has experienced an error condition. |
void |
onNext(R args)
Provides the Observer with a new item to observe.
|
GroupedObservable<K,R> |
toObservable() |
add, isUnsubscribed, onStart, request, setProducer, unsubscribepublic GroupedObservable<K,R> toObservable()
public void onNext(R args)
Observer
The Observable may call this closure 0 or more times.
The Observable will not call this closure again after it calls either Observer.onCompleted() or
Observer.onError(java.lang.Throwable).
args - the item emitted by the Observablepublic void onError(java.lang.Throwable e)
ObserverObservable has experienced an error condition.
If the Observable calls this method, it will not thereafter call Observer.onNext(T) or
Observer.onCompleted().
e - the exception encountered by the Observablepublic void onCompleted()
ObserverObservable has finished sending push-based notifications.
The Observable will not call this method if it calls Observer.onError(java.lang.Throwable).