| Modifier and Type | Field and Description |
|---|---|
| private final U |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract P | Returns: observer adapted for the underlying Observableobserver to be adapted for the underlying
Observable observer)Adapts the given observer to observer of the underlying Observable. |
| public final void | |
| protected final U | |
| public final Subscription | |
| public final void |
| underlying | back to summary |
|---|---|
| private final U underlying | |
| ProxyObservable | back to summary |
|---|---|
| protected ProxyObservable(U underlying) | |
| adaptObserver | back to summary |
|---|---|
| protected abstract P adaptObserver(O observer) Adapts the given observer to observer of the underlying Observable. Important Note It is required that the transformation applied to two observers that are _equal_ yields two adapted observers that are _equal_. In other words, if `o1.equals(o2)`, then it must be the case that `adaptObserver(o1).equals(adaptObserver(o2))`.
| |
| addObserver | back to summary |
|---|---|
| public final void addObserver(O observer) Implements org.
| |
| getUnderlyingObservable | back to summary |
|---|---|
| protected final U getUnderlyingObservable() | |
| observe | back to summary |
|---|---|
| public final Subscription observe(O observer) Overrides default org.
| |
| removeObserver | back to summary |
|---|---|
| public final void removeObserver(O observer) Implements org.
| |