现代计算机2024,Vol.30Issue(7) :76-80.DOI:10.3969/j.issn.1007-1423.2024.07.013

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

Research and application of decorative models in software design patterns

向晓婷
现代计算机2024,Vol.30Issue(7) :76-80.DOI:10.3969/j.issn.1007-1423.2024.07.013

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

Research and application of decorative models in software design patterns

向晓婷1
扫码查看

作者信息

  • 1. 贵阳信息科技学院信息工程系,贵阳 550025
  • 折叠

摘要

软件设计模式有很多种类,当需要通过一些基本功能的排列组合形成大量的功能时,简单地使用继承关系难以实现,针对该问题对软件设计模型进行研究.首先,介绍装饰模式和UML统一建模语言;然后,针对装饰模型设计对句的案例;最后,使用面向对象的Java语言进行实践,丰富装饰模型的应用案例.

Abstract

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.

关键词

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

Key words

design patterns/decorative models/object oriented/Java/UML

引用本文复制引用

出版年

2024
现代计算机
中大控股

现代计算机

影响因子:0.292
ISSN:1007-1423
参考文献量10
段落导航相关论文