JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Software Design » GoF  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 adapter, also known as view?
drunejang





發文: 1
積分: 0
於 2006-01-09 14:26 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Joshua Bloch在Effective Java, P15,提到,
Consider the case of adapters [Gamma98, p. 139], also known as views.

再看看adapter pattern [GOF] 的定义,
Convert the interface of a class into another interface clients expect.
从定义中,我们可以将another interface看作the interface的一个view,但不能说"adapter ia a view".

thx.


reply to postreply to post
» JWorld@TW »  Software Design » GoF

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8