检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机技术与发展》2008年第11期22-25,共4页Computer Technology and Development
基 金:国家863"软件重大专项"项目(2001AA113400)
摘 要:设计模式是一种对设计过程中经常遇到的一些问题的总结及其通用的解决方法,使人们可更加简单方便地复用成功的设计和体系结构。Singleton模式属于设计模式中的一种方法。文中通过基于CAR构件编程的方法,设计了一种基于CAR构件编程中实现自动生成Singleton模式的方法,并通过具体实例来证明此方法的可行性与有效性。用户只需要在类设计时指定类属性为Singleton,就可以自动生成Singleton模式的相关实现代码,从而降低了用户编程的复杂度。Design pattern which is made people easier to reuse successful design and architecture is a summary on the problems encountered in the design process arid its common solution. Singleton pattern belongs to it. Gives a method based on CAR component program, especially introduces a method for building automatic singleton pattem based on CAR component program. The class attribute which is named "singleton" by users is needed when program this class,the relative realized code of singleton mode can he automatic.ally created: And the complexity of programming by users is reduced.
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.226.159.125