设计模式 笔记 观察者模式

_notifiers = new HashMap<Class<?>, Notifier>();



xxDemo中

Notifier notifier = getNotifierRegistry().getNotifier(Notifier1.class)

notifier.notifyState();


 

posted @ 2013-04-03 20:06  xinyuyuanm  阅读(158)  评论(0编辑  收藏  举报