Package de.mhus.lib.core.lang
Interface IObserver<T>
-
- Type Parameters:
T-
public interface IObserver<T>Use this interface if you need a fast interface in inner structures. Do not use it in official APIs. The interface replace the java Observer interface since it is be deprecated in jdk9. The implementation is more lazy then the strict Observer - Observable implementation from java.- Author:
- mikehummel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdate(Object source, Object reason, T arg)Called if an something happens.
-