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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis 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:
eventOccurredin interfaceUpdateListener<T>- Parameters:
e- the update event observed by the listener
-