Package ann4j
Interface Observer
- All Known Implementing Classes:
NeuronObserver
public interface Observer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObjectToBeObserved
(Observable observable) Add an object to the list of objects to be observed.void
clear()
void
update
(String info, Observable observable) The update function is called when the observable object is changed.
-
Method Details
-
addObjectToBeObserved
Add an object to the list of objects to be observed.- Parameters:
observable
- The object to be observed.
-
update
The update function is called when the observable object is changed.- Parameters:
info
- The information that is passed to the observer.observable
- The Observable object.
-
clear
void clear()
-