原型模式(Prototype Pattern)

文檔地址:《設計模式之禪》​​​​​​​ 切入故事: 個性化電子賬單 定義: Specify the kinds of objects to create using a prototypical instance,and create new objects by copying this prototype.(用原型實例指定創建對象的種類, 並且通過拷貝這些原型創建新的對象。 ) 通用類圖:
相關文章
相關標籤/搜索