检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:吴清寿[1]
机构地区:[1]武夷学院数学与计算机系,福建武夷山354300
出 处:《重庆理工大学学报(自然科学)》2012年第9期100-104,共5页Journal of Chongqing University of Technology:Natural Science
基 金:福建省教育厅科技项目(JA11265);武夷学院科研基金资助项目(X1201019)
摘 要:研究了委托与事件机制的实现方法,阐述了观察者模式的特征及所遵循的原则,提出了基于事件机制的观察者模式新的结构及编程框架。最后分析了其主要应用场景。The observer pattern is mainly used to weaken the coupled relations between objects. The event mechanism buih on the basis of the delegate type further decouples subject and observer object of the observer pattern, improving the ability that the observer pattern can adapt to the changes better. This paper not only discusses implementation methods of delegate and event mechanism, but also ex- pounds the characteristics of observer pattern and principles, and then puts forward the new structure and programming framework of the event-based mechanism in observer pattern. In the end, it analyzes the main application scenarios.
分 类 号:TP39[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.13