Package ann4j
Interface Observable
- All Known Implementing Classes:
Neuron
public interface Observable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregisterObserver
(NeuronObserver neuronObserver) Deregisters the observer from the observablevoid
notifyObservers
(String info) Notify all observers of a change in the subject.void
registerObserver
(Observer observer) Register an observer to be notified when the data changes.
-
Method Details
-
notifyObservers
Notify all observers of a change in the subject.- Parameters:
info
- The information that is being sent to the observers.
-
registerObserver
Register an observer to be notified when the data changes.- Parameters:
observer
- The observer to register.
-
deregisterObserver
Deregisters the observer from the observable- Parameters:
neuronObserver
- The observer to be deregistered.
-