首页|软件设计模式下装饰模型的研究与应用

软件设计模式下装饰模型的研究与应用

扫码查看
软件设计模式有很多种类,当需要通过一些基本功能的排列组合形成大量的功能时,简单地使用继承关系难以实现,针对该问题对软件设计模型进行研究.首先,介绍装饰模式和UML统一建模语言;然后,针对装饰模型设计对句的案例;最后,使用面向对象的Java语言进行实践,丰富装饰模型的应用案例.
Research and application of decorative models in software design patterns
There are many types of software design patterns.When it is necessary to form a large number of functions through the arrangement and combination of some basic functions,it is not practical to simply use inheritance relationships to achieve this.To address this issue,research software design models.Firstly,introduce the decoration pattern and UML unified modeling lan-guage.Then,design a case study for the decorative model with corresponding sentences.Finally,practice using object-oriented Java language to enrich the application cases of decorative models.

design patternsdecorative modelsobject orientedJavaUML

向晓婷

展开 >

贵阳信息科技学院信息工程系,贵阳 550025

设计模式 装饰模型 面向对象 Java UML

2024

现代计算机
中大控股

现代计算机

影响因子:0.292
ISSN:1007-1423
年,卷(期):2024.30(7)
  • 10