Observer

+Update():void

Subject

+Attach(dy:Observer):void

+Detach(dx:Observer):void

ConcreteSubject

+Attach(dy:Observer):void

+Detach(dx:Observer):void

ConcreteObserver

-Observerstate:string

+Update():void

观察者

观察者

2019-06-23 07:13:01 0 22
这里是评论

相关推荐