自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (2)
  • 收藏
  • 关注

原创 桥梁模式

Decoople an abstraction from its implementation so that the two can vary independently.

2016-03-29 10:33:49 423

原创 享元模式

Use sharing to support large numbers of fine-grained objects efficiently.

2016-03-29 10:01:34 312

原创 解释器模式

Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.

2016-03-28 15:46:48 362

原创 状态模式

Allow an object to alter its behavior when its internal state changes, The object will appear to change its class.

2016-03-28 14:41:21 319

原创 访问者模式

Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.

2016-03-27 19:09:47 280

原创 备忘录模式

Without violating encapsulation, capture and externalize an object’s internal state so that the object can be restored to this state later.

2016-03-23 14:43:15 414

原创 门面模式

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.

2016-03-23 09:02:33 250

原创 观察者模式

Define a one-many dependency between objects so that when one object change state, all its dependents are notified and updated automatically.

2016-03-22 10:55:14 345

原创 组合模式

Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.

2016-03-21 20:26:59 337

原创 迭代器模式

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

2016-03-20 21:07:11 324

原创 适配器模式

Convert the interface of a class into another interface clients ecpect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces.

2016-03-20 16:13:06 365

原创 策略模式

Define a family of algorithms, encapsulate each one, and make them interchangeable.

2016-03-20 10:48:12 368

原创 装饰模式

Attach additional responsibities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing for ectending functionality.

2016-03-19 21:24:08 301

原创 责任链模式

Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object ha

2016-03-19 17:19:58 295

原创 命令模式

Encapsulate a request as object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.

2016-03-18 22:33:36 399

原创 中介者模式

Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicity, and it lets you vary interaction independen

2016-03-18 20:22:00 280

原创 原型模式

Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.

2016-03-18 11:12:59 256

原创 代理模式

Provide a surrogate or placeholder for another object to control access to it.

2016-03-17 19:50:04 267

原创 建造者模式

Separate the construction of a complex object from its representation so that the same construction process can create different representations.建造者模式的通用类图建造者模式的通用代码产品类public class Product { /**

2016-03-17 11:23:52 253

原创 模板方法模式

Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structur

2016-03-16 22:29:30 241

原创 抽象工厂模式

Provide an interface for creating families of related or dependent objects without specifying their concrete classes.

2016-03-16 17:08:58 257

原创 工厂方法模式

Define an interface for creating an Object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.工厂方法模式通用类图工厂方法模式通用代码抽象产品类public abstract

2016-03-14 22:55:08 428

原创 单例模式

Singleton PatternEnsure a class has only one instance, and provide a global point of access to it.Singleton Pattern的通用代码饿汉式单例模式public class Singleton {private static final Singleton singleton = new Si

2016-03-01 22:38:41 394

haroopad-v0.13.1-x64.deb

身为大程序员,我本来是不需要 Markdown 编辑器的,但是 Haroopad 让我简直欲罢不能,不能再爱更多。跨平台,代码高亮,Vim 键绑定,多列模式,行号,折叠, Github Flaverd Markdown 等功能~

2016-12-27

空空如也

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

TA关注的人

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