Define: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 handles it. 一、 職責鏈(Chain of
Define:Provide a unified interface to a set of interfaces in a subsystem. Façade defines a higher-level interface that makes the subsystem easier to use.
來自於:http://www.cnblogs.com/zhenyulu/articles/46735.html參考於:http://www.dofactory.com/Patterns/PatternDecorator.aspxDefine:Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for
Define:Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Define: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 structure.一、 模板方法(Template
中文解釋:所謂Codec,就是編碼-解碼器“Coder-Decoder”的縮寫。說得通俗一點,對於音頻就是A/D和D/A轉換。A/D就是將人耳能聽到的類比訊號(Analog)轉換為電腦能夠處理的數字(Digital)訊號的編碼過程;D/A就是將處理後的數字訊號轉換為人耳能夠聽到的類比訊號的解碼過程,而Codec就是具備上述兩種功能的處理晶片。 英文解釋:A Codec is a device or program capable of performing encoding and