单例设计模式java怎么引用_设计模式的研究以及单例模式的应用与实现

The research of Design Pattern and application implementation of Singleton

1、Harbin University of Science and Technology, The higher educational key laboratory for Measuring & Control Technology and Instrumentations of Heilongjiang Province

Abstract:This paper describes the important role and significance of the design patterns in software design, and then gives the definition and the basic elements of design pattern. It also analyzes how to use design patterns to solve the practical problems in software design based on this paper. Singleton pattern in design patterns is widely used in software design. So we make a detailed study of the definition, intent, solutions, suitability and conclusions of the singleton pattern according to the basic elements and so on. Then we obtained the strengths and weaknesses of four common types of singleton pattern through making a detailed analysis of the four single cases and the achievement modes. So we can make different options of these single-mode cases according to the different requirements of the software systems in our design. After the analysis and research of the singleton pattern, we understand the detailed process and the methods of using the design patterns on how to resolve the practical problems further.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值