-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
398 additions
and
65 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
nav: | ||
title: 设计模式 | ||
order: 10 | ||
group: | ||
title: 创建型 | ||
order: 2 | ||
title: 抽象工厂模式 | ||
order: 5 | ||
--- | ||
|
||
# 抽象工厂模式 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
nav: | ||
title: 设计模式 | ||
order: 10 | ||
group: | ||
title: 创建型 | ||
order: 2 | ||
title: 创造者模式 | ||
order: 6 | ||
--- | ||
|
||
# 创造者模式 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
nav: | ||
title: 设计模式 | ||
order: 10 | ||
group: | ||
title: 创建型 | ||
order: 2 | ||
title: 工厂方法模式 | ||
order: 4 | ||
--- | ||
|
||
# 工厂方法模式 | ||
|
||
工厂方法模式是一种创建型设计模式, 其在父类中提供一个创建对象的方法, 允许子类决定实例化对象的类型。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
nav: | ||
title: 设计模式 | ||
order: 10 | ||
group: | ||
title: 创建型 | ||
order: 2 | ||
title: 原型模式 | ||
order: 3 | ||
--- | ||
|
||
# 原型模式 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.