软件体系结构程序.zip

上传者: 39566715 | 上传时间: 2022-06-09 12:58:01 | 文件大小: 31KB | 文件类型: ZIP
本程序用了单例模式、适配器模式、策略模式、迭代器模式、代理模式。
球队进场:迭代器模式---遍历球员列表。
外教安排战术:单例模式---一个球队只有一个外教,创建唯一实例,并调用他的方法。
翻译:适配器模式----实现目标接口外教没有的“说中文”的方法。
更换战术:策略模式---通过实现不同的具体策略实现抽象的策略,并创建上下文对象,调用不同的策略。
广告赞助:代理模式---球队经纪人代理球队的广告业务,通过经纪人去代理球队的业务,球队不直接与广告商接触。

文件下载

资源详情

[{"title":"( 47 个子文件 31KB ) 软件体系结构程序.zip","children":[{"title":"说明.txt <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"a-game-Design","children":[{"title":"bin","children":[{"title":"model","children":[{"title":"server","children":[{"title":"Context.class <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"talkAdapter.class <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"TeamAggregateImpl.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"PlayerIteratorImpl.class <span style='color:#111;'> 1006B </span>","children":null,"spread":false},{"title":"ConcreteStrategy2.class <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"TeamAggregate.class <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":"ConcreteStrategy1.class <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"PlayerIterator.class <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"gameTactical.class <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"talkDao.class <span style='color:#111;'> 170B </span>","children":null,"spread":false}],"spread":true},{"title":"Coach.class <span style='color:#111;'> 743B </span>","children":null,"spread":false},{"title":"Player.class <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"TeamProxy.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"TestGUI.class <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"view.class <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"ADVview.class <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"Controller","children":[{"title":"ADVcontroller$2.class <span style='color:#111;'> 848B </span>","children":null,"spread":false},{"title":"controller$5.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"controller$2.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"controller$4.class <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"controller.class <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ADVcontroller$1.class <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"controller$3.class <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"controller$1.class <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"ADVcontroller.class <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"model","children":[{"title":"server","children":[{"title":"ConcreteStrategy2.java <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"Context.java <span style='color:#111;'> 321B </span>","children":null,"spread":false},{"title":"talkAdapter.java <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"PlayerIterator.java <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"ConcreteStrategy1.java <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"TeamAggregateImpl.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"PlayerIteratorImpl.java <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"TeamAggregate.java <span style='color:#111;'> 279B </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"gameTactical.java <span style='color:#111;'> 117B </span>","children":null,"spread":false},{"title":"talkDao.java <span style='color:#111;'> 130B </span>","children":null,"spread":false}],"spread":true},{"title":"TeamProxy.java <span style='color:#111;'> 717B </span>","children":null,"spread":false},{"title":"Player.java <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"Coach.java <span style='color:#111;'> 646B </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"view.java <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"TestGUI.java <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"ADVview.java <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"Controller","children":[{"title":"ADVcontroller.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"controller.java <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 302B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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