自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 资源 (4)
  • 收藏
  • 关注

原创 笔记:Gof设计模式--Visitor

1、意图  Represent an operation to be performed on the elements of an objectstructure. Visitor lets you define a new operation without changing theclasses of the elements on which it operates.2、适应性

2012-06-03 10:38:19 340

原创 笔记:Gof设计模式--Template Method

1、意图  Define the skeleton of an algorithm in an operation, deferring somesteps to subclasses. Template Method lets subclasses redefinecertain steps of an algorithm without changing the algorithm'sst

2012-06-03 10:11:18 297

原创 笔记:Gof设计模式--Strategy

1、意图  Define a family of algorithms, encapsulate each one, and make them interchangeable.Strategy lets the algorithm vary independently from clients that use it.2、适应性  Use the Strategy pattern

2012-06-03 10:10:56 334

原创 笔记:Gof设计模式--State

1、意图  Allow an object to alter its behavior when its internal state changes.The object will appear to change its class.2、适应性  Use the State pattern in either of the following cases:• An obje

2012-06-02 18:02:18 434

原创 笔记:Gof设计模式--Observer

1、意图  Define a one-to-many dependency between objects so that when oneobject changes state, all its dependents are notified and updatedautomatically.2、适应性  Use the Observer pattern in any of t

2012-06-02 18:02:06 333

原创 笔记:Gof设计模式--Memento

1、意图  Without violating encapsulation, capture and externalize an object'sinternal state so that the object can be restored to this state later. 2、适应性  Use the Memento pattern when  •  a sna

2012-06-02 18:01:55 245

原创 笔记:Gof设计模式--Mediator

1、意图   Define an object that encapsulates how a set of objects interact.Mediator promotes loose coupling by keeping objects from referring toeach other explicitly, and it lets you vary their interac

2012-06-02 18:01:41 366

原创 笔记:Gof设计模式--Iterator

1、意图  Provide a way to access the elements of an aggregate objectsequentially without exposing its underlying representation.2、适应性  Use the Iterator pattern  •  to access an aggregate object

2012-06-02 18:01:32 244

原创 笔记:Gof设计模式--Command

1、意图  Encapsulate a request as an object, thereby letting you parameterizeclients with different requests, queue or log requests, and supportundoable operations. 2、适应性  Use the Command pattern

2012-06-02 18:01:20 276

原创 笔记:Gof设计模式--Chain of Responsibility

1、意图  Avoid coupling the sender of a request to its receiver by giving morethan one object a chance to handle the request. Chain the receivingobjects and pass the request along the chain until an ob

2012-06-02 18:01:06 318

原创 笔记:Gof设计模式--Proxy

1、意图  Provide a surrogate or placeholder for another object to control access to it.2、适应性  Proxy is applicable whenever there is a need for a more versatile or sophisticated reference to an ob

2012-06-02 18:00:54 343

原创 笔记:Gof设计模式--Flyweight

1、意图Use sharing to support large numbers of fine-grained objects efficiently. 2、适应性The Flyweight pattern's effectiveness depends heavily on how and where it's used. Apply the Flyweight pattern

2012-06-02 18:00:17 371

原创 笔记:Gof设计模式--Façade

1、意图  Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.2、适应性Use the Facade pattern when  •  y

2012-06-02 18:00:01 325

原创 笔记:Gof设计模式--Decorator

1、意图  Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.2、适应性  Use the Decorator pattern when

2012-05-31 22:19:04 296

原创 笔记:Gof设计模式--Composite

1、意图   Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. 2、适应性  Use the Composi

2012-05-31 21:54:12 416

原创 笔记:Gof设计模式--Bridge

1、意图   Decouple an abstraction from its implementation so that the two can vary independently.2、适应性  Use the Bridge pattern when   •  you want to avoid a permanent binding between an abstr

2012-05-31 20:10:16 415

原创 笔记:Gof设计模式--Adapter

1、意图     Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces. 2、适应性 Use the Ad

2012-05-30 22:52:49 245

原创 笔记:Gof设计模式--Singleton

1、意图     Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype. 2、适应性    Use the Singleton pattern when     •  there must b

2012-05-30 20:35:52 270

原创 笔记:Gof设计模式--Prototype

1、意图     Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype. 2、适应性    Use the Prototype pattern when a system should be in

2012-05-29 22:50:07 331

原创 笔记:Gof设计模式--Factory Method

1、意图     Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses. 2、适应性Use the Facto

2012-05-29 22:17:38 344

原创 笔记:Gof设计模式--Builder

1、意图       Separate the construction of a complex object from its representation the same construction process can create different representations. 2、适应性Use the builder pattern when      •

2012-05-29 21:56:43 225

原创 笔记:Gof设计模式--Abstract Factory

1、意图    Provide an interface for creating families of related or dependent objects without specifying their concrete classes.  2、适应性Use the Abstract Factory pattern when     ••    • a

2012-05-29 21:13:22 478

Linux常用命令全集

Linux常用命令全集,Linux常用命令全集

2010-03-02

高质量C\C++编程指南

高质量C\C++编程指南、高质量C\C++编程指南、高质量C\C++编程指南

2009-03-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除