Back to project page PassGraph.
The source code is released under:
GNU General Public License
If you think the Android project PassGraph listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package littlesoft; //from w w w . ja v a2 s .co m import java.util.LinkedList; import java.util.List; public class Firer<T> { private List<FirerObserver<T>> observers = new LinkedList<FirerObserver<T>>(); public void fire(T firedObject){ for(FirerObserver<T> obs : observers){ obs.fired(firedObject); } } public void registerObserver(FirerObserver<T> obs){ observers.add(obs); } }