mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-23 22:43:28 +08:00
72 lines
855 B
Markdown
72 lines
855 B
Markdown
[TOC]
|
|
|
|
<!-- Patterns -->
|
|
# 第二十五章 设计模式
|
|
|
|
|
|
<!-- The Pattern Concept -->
|
|
## 概念
|
|
|
|
|
|
<!-- Building Application Frameworks -->
|
|
## 构建型
|
|
|
|
|
|
<!-- Fronting for an Implementation -->
|
|
## 面向实施
|
|
|
|
|
|
<!-- Factories: Encapsulating Object Creation -->
|
|
## 工厂模式
|
|
|
|
|
|
<!-- Function Objects -->
|
|
## 函数对象
|
|
|
|
|
|
<!-- Changing the Interface -->
|
|
## 接口改变
|
|
|
|
|
|
<!-- Interpreter: Run-Time Flexibility -->
|
|
## 解释器
|
|
|
|
|
|
<!-- Callbacks -->
|
|
## 回调
|
|
|
|
|
|
<!-- Multiple Dispatching -->
|
|
## 多次调度
|
|
|
|
|
|
<!-- Pattern Refactoring -->
|
|
## 模式重构
|
|
|
|
|
|
<!-- Abstracting Usage -->
|
|
## 抽象用法
|
|
|
|
|
|
<!-- Multiple Dispatching -->
|
|
## 多次派遣
|
|
|
|
|
|
<!-- The Visitor Pattern -->
|
|
## 访问者模式
|
|
|
|
|
|
<!-- RTTI Considered Harmful? -->
|
|
## RTTI的优劣
|
|
|
|
|
|
<!-- Summary -->
|
|
## 本章小结
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 分页 -->
|
|
|
|
<div style="page-break-after: always;"></div> |