|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the object to observerpublic interface Observable<T>
Observable design pattern.
Method Summary | |
---|---|
void |
addObserver(Observer<? super T> o)
Add an observer to the object. |
void |
removeObserver(Observer<? super T> o)
Remove an observer from the object. |
Method Detail |
---|
void addObserver(Observer<? super T> o)
o
- Observer to addvoid removeObserver(Observer<? super T> o)
o
- Observer to remove
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |