T
- the type of the object to observepublic interface Observable<T>
Modifier and Type | Method and Description |
---|---|
ObserverRegistration |
addObserver(Action1<T,? extends RuntimeException> observer)
Adds an observer to the set of observers for this object.
|
ObserverRegistration addObserver(Action1<T,? extends RuntimeException> observer)
observer
- the observer to add for this object.