Class AbstractObservable<ObserverInterfaceType>

java.lang.Object
org.palladiosimulator.commons.designpatterns.AbstractObservable<ObserverInterfaceType>
Type Parameters:
ObserverInterfaceType - The interface which should be implemented by the observers.
All Implemented Interfaces:
IAbstractObservable<ObserverInterfaceType>

public abstract class AbstractObservable<ObserverInterfaceType> extends Object implements IAbstractObservable<ObserverInterfaceType>
A generic implementation of an Observable object as defined by the Observer pattern. As a type parameter the interface for the Observer needs to be specified. Taken from http://pastebin.com/YmVhDNzk and adapted