检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《科学技术与工程》2010年第4期1033-1036,共4页Science Technology and Engineering
摘 要:设计模式是对于共性问题成功的解决方案,采用设计模式可以减少系统设计的复杂度,提高系统开发的效率[1]。Command模式是常用的23种设计模式中的一种。Command模式是将"动作"进行抽象,将与动作有关的所有信息进行封装,从而实现调用操作的对象与知道如何实现该操作的对象解耦。RedoUndo是现代编译器中必不可少的一种工具,可以提高工作效率。详细探讨了如何使用Command模式实现RedoUndo以及各种扩展。Design pattern is that people make in order to improve software reuse an object-oriented design methodology. Command pattern is a design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later time. This information includes the method name, the object that owns the method and values for the method parameters. RedoUndo is indispensable in modern editor as a tool that can improve work efficiency. How to use the command pattern to achieve RedoUndo and various extensions are discussed in detail.
分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15