Package ann4j
Interface Observable
- All Known Implementing Classes:
Neuron
public interface Observable
-
Method Summary
Modifier and TypeMethodDescriptionvoidderegisterObserver(NeuronObserver neuronObserver) Deregisters the observer from the observablevoidnotifyObservers(String info) Notify all observers of a change in the subject.voidregisterObserver(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.
-