检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:夏浩波[1]
机构地区:[1]长江大学计算机科学学院,湖北荆州434023
出 处:《电脑开发与应用》2011年第1期58-59,共2页Computer Development & Applications
摘 要:单例模式是软件开发中经常应用到的设计模式,阐述了单例模式的基本原理、使用场合及其效果,简要地介绍了如何在软件开发中运用单例模式,详细地叙述了多线程环境下的单例模式的设计,以及饿汉模式和懒汉模式的应用场景,最后对设计模式进行了展望。Singleton pattern is often applied to software development,This paper describes the basic principles of singleton pattern,briefly introduces how to use the singleton pattern in software development,details design of singleton pattern in the background of multithreading and application of lazy singleton and hungry singleton,finally advances the further developing of design patterns.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.143.221.185