Class UpdatePrinter<T>
java.lang.Object
org.tweetyproject.preferences.events.UpdatePrinter<T>
- Type Parameters:
T
- the generic type
- All Implemented Interfaces:
EventListener
,UpdateListener<T>
This exemplary class implements a simple printer for update events writing its result into the console
- Author:
- Bastian Wolf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is called every time an update occurs
-
Constructor Details
-
UpdatePrinter
public UpdatePrinter()
-
-
Method Details
-
eventOccurred
This method is called every time an update occurs- Specified by:
eventOccurred
in interfaceUpdateListener<T>
- Parameters:
e
- the update event observed by the listener
-