Package | Description |
---|---|
java.util |
Modifier and Type | Method and Description |
---|---|
void |
Observable.addObserver(Observer o)
Adds an observer to the set of observers for this object, provided that it is not the same as
some observer already in the set.
|
void |
Observable.deleteObserver(Observer o)
Deletes an observer from the set of observers of this object.
|