Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Design Pattern & UML  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:Decorator and Proxy 的区别 [Re:MoutainHigh]
ranchgirl



版主


发贴: 801
积分: 132
于 2005-12-19 01:12 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list

Adapter provides a different interface to its subject. Proxy provides the same interface. Decorator provides an enhanced interface. [GOF. p216]

Decorator and Proxy have different purposes but similar structures. Both describe how to provide a level of indirection to another object, and the implementations keep a reference to the object to which they forward requests. [GOF, p220]





话题树型展开
人气 标题 作者 字数 发贴时间
21631 Decorator and Proxy 的区别 MoutainHigh 103 2005-03-25 17:15
15377 Re:Decorator and Proxy 的区别 jigsaw 166 2005-03-28 14:09
15210 Re:Decorator and Proxy 的区别 jameszhang 222 2005-06-25 22:28
17519 Re:Decorator and Proxy 的区别 MoutainHigh 91 2005-03-29 11:27
15398 Re:Decorator and Proxy 的区别 hitaco 101 2005-05-24 15:55
15572 Re:Decorator and Proxy 的区别 dissip 385 2005-04-13 17:24
15397 Re:Decorator and Proxy 的区别 popplelee 39 2005-04-16 21:02
15695 Re:Decorator and Proxy 的区别 njluz 362 2005-07-08 14:11
16023 Re:Decorator and Proxy 的区别 ranchgirl 405 2005-12-19 01:12

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2018 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923