适配器模式
2017-01-03 20:16:01 0 举报
适配器模式
作者其他创作
大纲/内容
:Adapter
:Adaptee
Adaptee
specReuqest():void
ClassAdapter
request():void
Client
ctarget:Targetotarget:Target
1.1 new Adapter(adapter)
Target
request():voidspecRequest():void
1.2 request()
:Client
1.3 specRequest()
ObjectAdapter
adaptee:Adaptee
0 条评论
下一页