您好,欢迎访问PDF电子书资源免费下载网

上传文档

当前位置:首页 > PDF图书 > 畅销书 > 小蜜蜂全站 > DesignPatterns_ElementsofReusableObject-.epub

DesignPatterns_ElementsofReusableObject-.epub

二扫码支付 微信
二扫码支付 支付宝

还剩... 页未读,继续阅读

免费阅读已结束,点击付费阅读剩下 ...

¥ 0 元,已有0人购买

免费阅读

阅读已结束,您可以下载文档离线阅读

¥ 1 元,已有0人下载

付费下载
文档简介:

Creational Patterns Abstract Factory ( 87 ) Provide an interface for creating families of related or dependent objects without specifying their concrete classes. Builder ( 97 ) Separate the construction of a complex object from its representation so that the same construction process can create different representations. Factory Method ( 107 ) Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses. Prototype ( 117 ) Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype. Singleton ( 127 ) Ensure a class only has one instance, and provide a global point of access to it. Structural Patterns Adapter ( 139 ) Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. Bridge ( 151 ) Decouple an abstraction from its implementation so that the two can vary independently. Composite ( 163 ) Compose objects into tree structures to represent part- whole hierarchies. Composi......

资料大王PDF
资料大王PDF
  • 65338

    文档
  • 60.9749

    金币
Ta的主页 发私信

65338篇文档

评论

发表评论
< /0 > 付费下载 ¥ 1 元

Powered by 阿里PDF-免费文档电子书下载

Copyright © PDF电子书资源免费下载网 All Rights Reserved. 皖ICP备2021018472号-4
×
保存成功