T - the element typepublic class ObserverAdapter<T> extends java.lang.Object implements Observer<T>
| Modifier and Type | Field and Description |
|---|---|
static ObserverAdapter<java.lang.Object> |
INSTANCE
The no-operation instance.
|
| Constructor and Description |
|---|
ObserverAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(java.lang.Throwable ex)
An exception is received.
|
void |
finish()
No more values to expect.
|
void |
next(T value)
The next value is received.
|
public static final ObserverAdapter<java.lang.Object> INSTANCE
public void next(T value)
Observerpublic void error(@Nonnull
java.lang.Throwable ex)
BaseObservererror in interface BaseObserverex - the exceptionpublic void finish()
BaseObserverfinish in interface BaseObserver