设计模式--观察者模式java例子

上传者: lgywsdy | 上传时间: 2022-09-08 21:27:39 | 文件大小: 43KB | 文件类型: RAR
设计模式--观察者模式java例子

文件下载

资源详情

[{"title":"( 72 个子文件 43KB ) 设计模式--观察者模式java例子","children":[{"title":"观察者模式例子","children":[{"title":"TestObserver","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"lgy","children":[{"title":"test","children":[{"title":"three","children":[{"title":"Test.class <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"WeatherData.class <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"Weather.class <span style='color:#111;'> 892B </span>","children":null,"spread":false}],"spread":true},{"title":"five","children":[{"title":"Test.class <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"DisplayElement.class <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"Observer.class <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"ForecastDisplay.class <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"WeatherData.class <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"Subject.class <span style='color:#111;'> 231B </span>","children":null,"spread":false}],"spread":true},{"title":"four","children":[{"title":"Test.class <span style='color:#111;'> 842B </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.class <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"WeatherData.class <span style='color:#111;'> 990B </span>","children":null,"spread":false},{"title":"Weather.class <span style='color:#111;'> 890B </span>","children":null,"spread":false}],"spread":true},{"title":"two","children":[{"title":"Test.class <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.class <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"WeatherData.class <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"Weather.class <span style='color:#111;'> 888B </span>","children":null,"spread":false}],"spread":true},{"title":"one","children":[{"title":"Test.class <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"DisplayElement.class <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"Observer.class <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"ForecastDisplay.class <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"WeatherData.class <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"Subject.class <span style='color:#111;'> 229B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 635B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"lgy","children":[{"title":"test","children":[{"title":"three","children":[{"title":"CurrentConditionDisplay.java <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"Weather.java <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"WeatherData.java <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 370B </span>","children":null,"spread":false}],"spread":true},{"title":"five","children":[{"title":"Observer.java <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.java <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"DisplayElement.java <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"WeatherData.java <span style='color:#111;'> 913B </span>","children":null,"spread":false},{"title":"Subject.java <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"ForecastDisplay.java <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 515B </span>","children":null,"spread":false}],"spread":true},{"title":"four","children":[{"title":"CurrentConditionDisplay.java <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"Weather.java <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"WeatherData.java <span style='color:#111;'> 660B </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 408B </span>","children":null,"spread":false}],"spread":true},{"title":"two","children":[{"title":"CurrentConditionDisplay.java <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"Weather.java <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"WeatherData.java <span style='color:#111;'> 716B </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":true},{"title":"one","children":[{"title":"Observer.java <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"CurrentConditionDisplay.java <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"DisplayElement.java <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"WeatherData.java <span style='color:#111;'> 912B </span>","children":null,"spread":false},{"title":"Subject.java <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"ForecastDisplay.java <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 435B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 307B </span>","children":null,"spread":false}],"spread":true},{"title":"LGYObserverPattern","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"lgy","children":[{"title":"test","children":[{"title":"Test.class <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"OberverTwo.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Observer.class <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"OberverOne.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Observed.class <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"WeatherData.class <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"Weather.class <span style='color:#111;'> 880B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 635B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"lgy","children":[{"title":"test","children":[{"title":"OberverTwo.java <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"OberverOne.java <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"Observer.java <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"Weather.java <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"WeatherData.java <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"Observed.java <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明