Class ObservableBufferExactBoundary.BufferBoundaryObserver<T,U extends java.util.Collection<? super T>,B>
- java.lang.Object
-
- io.reactivex.rxjava3.observers.DisposableObserver<B>
-
- io.reactivex.rxjava3.internal.operators.observable.ObservableBufferExactBoundary.BufferBoundaryObserver<T,U,B>
-
- All Implemented Interfaces:
Observer<B>
,Disposable
- Enclosing class:
- ObservableBufferExactBoundary<T,U extends java.util.Collection<? super T>,B>
static final class ObservableBufferExactBoundary.BufferBoundaryObserver<T,U extends java.util.Collection<? super T>,B> extends DisposableObserver<B>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ObservableBufferExactBoundary.BufferExactBoundaryObserver<T,U,B>
parent
-
Constructor Summary
Constructors Constructor Description BufferBoundaryObserver(ObservableBufferExactBoundary.BufferExactBoundaryObserver<T,U,B> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
Notifies theObserver
that theObservable
has finished sending push-based notifications.void
onError(java.lang.Throwable t)
Notifies theObserver
that theObservable
has experienced an error condition.void
onNext(B t)
Provides theObserver
with a new item to observe.-
Methods inherited from class io.reactivex.rxjava3.observers.DisposableObserver
dispose, isDisposed, onStart, onSubscribe
-
-
-
-
Field Detail
-
parent
final ObservableBufferExactBoundary.BufferExactBoundaryObserver<T,U extends java.util.Collection<? super T>,B> parent
-
-
Constructor Detail
-
BufferBoundaryObserver
BufferBoundaryObserver(ObservableBufferExactBoundary.BufferExactBoundaryObserver<T,U,B> parent)
-
-
Method Detail
-
onNext
public void onNext(B t)
Description copied from interface:Observer
Provides theObserver
with a new item to observe.The
Observable
may call this method 0 or more times.The
Observable
will not call this method again after it calls eitherObserver.onComplete()
orObserver.onError(java.lang.Throwable)
.- Parameters:
t
- the item emitted by the Observable
-
onError
public void onError(java.lang.Throwable t)
Description copied from interface:Observer
Notifies theObserver
that theObservable
has experienced an error condition.If the
Observable
calls this method, it will not thereafter callObserver.onNext(T)
orObserver.onComplete()
.- Parameters:
t
- the exception encountered by the Observable
-
onComplete
public void onComplete()
Description copied from interface:Observer
Notifies theObserver
that theObservable
has finished sending push-based notifications.The
Observable
will not call this method if it callsObserver.onError(java.lang.Throwable)
.
-
-