SUMMARY OF STRUCTURAL PATTERNS

The Adapter pattern , used to change the interface of one class to that of
another one.
The Bridge pattern , intended to keep the interface to your client program
constant while allowing you to change the actual kind of class you
display or use. You can then change the interface and the underlying class
separately.
The Composite pattern , a collection of objects, any one of which may be
either itself a Composite, or just a primitive object.
The Decorator pattern , a class that surrounds a given class, adds new
capabilities to it, and passes all the unchanged methods to the underlying
class.
The Façade pattern , which groups a complex object hierarchy and
provides a new, simpler interface to access those data.
The Flyweight pattern , which provides a way to limit the proliferation of
small, similar class instances by moving some of the class data outside
the class and passing it in during various execution methods.
The Proxy pattern , which provides a simple place-holder class for a more
complex class which is expensive to instantiate.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值