找回密码
 To register

QQ登录

只需一步,快速开始

扫一扫,访问微社区

Titlebook: Design Patterns with Java ; An Introduction Olaf Musch Textbook 2023 The Editor(s) (if applicable) and The Author(s), under exclusive lice

[复制链接]
楼主: mature
发表于 2025-3-26 21:40:52 | 显示全部楼层
发表于 2025-3-27 03:38:51 | 显示全部楼层
Mediator,The mediator pattern enables the flexible interaction of several objects/classes that may not know each other. The mediation function can be varied very flexibly, but can also lead to very extensive implementations. In contrast to the Observer or the Chain of Responsibility, the Mediator also has its own tasks to perform.
发表于 2025-3-27 08:14:15 | 显示全部楼层
发表于 2025-3-27 09:28:04 | 显示全部楼层
Strategy,The strategy pattern is used when a task can be solved with different approaches and a decision is to be made at runtime. It belongs to the behavior patterns. The addition of further solution strategies is possible at any time without any problems.
发表于 2025-3-27 16:40:07 | 显示全部楼层
Composite,The Composite Pattern is a structural pattern and describes how objects can be combined to form meaningful units. It is used, for example, in tree representations of directories or similar structures.
发表于 2025-3-27 20:05:33 | 显示全部楼层
Flyweight,The Flyweight pattern is a variant to manage small objects that should be reused frequently. Think of Date() objects or Name objects in statistics. You don’t have to create a new object each time and thus use memory.
发表于 2025-3-28 01:21:00 | 显示全部楼层
发表于 2025-3-28 04:19:05 | 显示全部楼层
发表于 2025-3-28 07:29:03 | 显示全部楼层
Factory Method,The Factory Method uses inheritance to create individual concrete objects, which distinguishes it from the Abstract Factory. Beyond that, however, there are many similarities between these two patterns. There are several variants for the implementation of the Factory Method pattern.
发表于 2025-3-28 11:58:39 | 显示全部楼层
Prototype,For the creation of similar objects, which do not differ significantly from each other, the use of the prototype pattern is suitable. It is based on the cloning of objects and their subsequent modification. But beware: There are pitfalls to be aware of when cloning.
 关于派博传思  派博传思旗下网站  友情链接
派博传思介绍 公司地理位置 论文服务流程 影响因子官网 SITEMAP 大讲堂 北京大学 Oxford Uni. Harvard Uni.
发展历史沿革 期刊点评 投稿经验总结 SCIENCEGARD IMPACTFACTOR 派博系数 清华大学 Yale Uni. Stanford Uni.
|Archiver|手机版|小黑屋| 派博传思国际 ( 京公网安备110108008328) GMT+8, 2025-5-23 16:34
Copyright © 2001-2015 派博传思   京公网安备110108008328 版权所有 All rights reserved
快速回复 返回顶部 返回列表