T
- the object to observerpublic interface Observable<T>
Modifier and Type | Method and Description |
---|---|
void |
addObserver(Observer<? super T> o)
Add an observer to the object.
|
void |
removeObserver(Observer<? super T> o)
Remove an observer from the object.
|