From cc1daa03cf1152a3239de5e49c9024249bc025e0 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Thu, 22 Feb 2018 01:51:07 +0800 Subject: [PATCH] auto commit --- notes/MySQL.md | 2 +- notes/计算机操作系统.md | 22 ++--- notes/计算机网络.md | 2 +- notes/重构.md | 184 ++++++++++++++++++++-------------------- 4 files changed, 105 insertions(+), 105 deletions(-) diff --git a/notes/MySQL.md b/notes/MySQL.md index f0fe5704..114a7570 100644 --- a/notes/MySQL.md +++ b/notes/MySQL.md @@ -17,7 +17,7 @@ * [1. ](#1-) * [1.1 B-Tree ](#11-b-tree-) * [1.2 ϣ](#12-ϣ) - * [1.3. ռݣR-Tree](#13-ռݣr-tree) + * [1.3. ռݣR-Tree](#13-ռr-tree) * [1.4 ȫ](#14-ȫ) * [2. ŵ](#2-ŵ) * [3. Ż](#3-Ż) diff --git a/notes/计算机操作系统.md b/notes/计算机操作系统.md index ffaf6390..8656dac4 100644 --- a/notes/计算机操作系统.md +++ b/notes/计算机操作系统.md @@ -21,9 +21,9 @@ * [״̬л](#״̬л) * [㷨](#㷨) * [1. ϵͳеĵ](#1-ϵͳеĵ) - * [1.1 ȷFCFS](#11-ȷfcfs) - * [1.2 ҵȣSJF](#12-ҵȣsjf) - * [1.3 ʣʱȣSRTN](#13-ʣʱȣsrtn) + * [1.1 ȷFCFS](#11-ȷfcfs) + * [1.2 ҵȣSJF](#12-ҵsjf) + * [1.3 ʣʱȣSRTN](#13-ʣʱsrtn) * [2. ʽϵͳеĵ](#2-ʽϵͳеĵ) * [2.1 Ȩ](#21-Ȩ) * [2.2 ʱƬת](#22-ʱƬת) @@ -69,16 +69,16 @@ * [3. ҳʽ](#3-ҳʽ) * [4. ҳֶ](#4-ҳֶ) * [ҳû㷨](#ҳû㷨) - * [1. ѣOptimal](#1-ѣoptimal) - * [2. ȽȳFIFO](#2-Ƚȳfifo) - * [3. δʹãLRULeast Recently Used](#3-δʹãlruleast-recently-used) - * [4. ʱӣClock](#4-ʱӣclock) + * [1. ѣOptimal](#1-optimal) + * [2. ȽȳFIFO](#2-Ƚȳfifo) + * [3. δʹãLRULeast Recently Used](#3-δʹlruleast-recently-used) + * [4. ʱӣClock](#4-ʱclock) * [ 豸](#-豸) * [̵㷨](#̵㷨) - * [1. ȷFCFSFirst Come First Serverd](#1-ȷfcfsfirst-come-first-serverd) - * [2. ѰʱȣSSTFShortest Seek Time First](#2-Ѱʱȣsstfshortest-seek-time-first) - * [3. ɨ㷨SCAN](#3-ɨ㷨scan) - * [4. ѭɨ㷨CSCAN](#4-ѭɨ㷨cscan) + * [1. ȷFCFSFirst Come First Serverd](#1-ȷfcfsfirst-come-first-serverd) + * [2. ѰʱȣSSTFShortest Seek Time First](#2-Ѱʱsstfshortest-seek-time-first) + * [3. ɨ㷨SCAN](#3-ɨ㷨scan) + * [4. ѭɨ㷨CSCAN](#4-ѭɨ㷨cscan) * [ο](#ο) diff --git a/notes/计算机网络.md b/notes/计算机网络.md index 8085ca6c..b4581956 100644 --- a/notes/计算机网络.md +++ b/notes/计算机网络.md @@ -43,7 +43,7 @@ * [IP ַַ](#ip-ַַ) * [1. IP ַ](#1--ip-ַ) * [2. ](#2-) - * [3. ޷ַ CIDRɳ](#3-޷ַ-cidrɳ) + * [3. ޷ַ CIDRɳ](#3-޷ַ-cidrɳ) * [IP ַ MAC ַ](#ip-ַ-mac-ַ) * [ַЭ ARP](#ַЭ-arp) * [·Ľṹ](#·Ľṹ) diff --git a/notes/重构.md b/notes/重构.md index 7ac2b62d..a7d15340 100644 --- a/notes/重构.md +++ b/notes/重构.md @@ -1,108 +1,108 @@ -* [һ عһ](#һ-عһ) +* [һ һ](#һ-һ) * [ڶ عԭ](#ڶ-عԭ) * [ Ļζ](#-Ļζ) - * [1. Duplicated Codeظ룩](#1-duplicated-codeظ룩) - * [2. Long Method](#2-long-method) - * [3. Large Classࣩ](#3-large-classࣩ) - * [4. Long Parameter ListIJУ](#4-long-parameter-listIJУ) - * [5. Divergent Changeɢʽ仯](#5-divergent-changeɢʽ仯) - * [6. Shotgun Surgeryɢʽ޸ģ](#6-shotgun-surgeryɢʽ޸ģ) - * [7. Feature Envyᣩ](#7-feature-envyᣩ) - * [8. Data Clumpsţ](#8-data-clumpsţ) - * [9. Primitive Obsessionƫִ](#9-primitive-obsessionƫִ) - * [10. Switch Statementsswitch ](#10-switch-statementsswitch-) - * [11. Parallel Inheritance Hierarchiesƽм̳ϵ](#11-parallel-inheritance-hierarchiesƽм̳ϵ) - * [12. Lazy Classࣩ](#12-lazy-classࣩ) - * [13. Speculative Generality̸δԣ](#13-speculative-generality̸δԣ) - * [14. Temporary FieldԻʱֶΣ](#14-temporary-fieldԻʱֶΣ) - * [15. Message ChainsϵϢ](#15-message-chainsϵϢ) - * [16. Middle Manмˣ](#16-middle-manмˣ) - * [17. Inappropriate Intimacyǹϵ](#17-inappropriate-intimacyǹϵ) - * [18. Alernative Classes with Different Interfacesࣩͬ](#18-alernative-classes-with-different-interfacesࣩͬ) - * [19. Incomplete Library Class⣩](#19-incomplete-library-class⣩) - * [20. Data Classɵࣩ](#20-data-classɵࣩ) - * [21. Refused Bequestܾ](#21-refused-bequestܾ) - * [22. Commentsעͣ](#22-commentsעͣ) + * [1. Duplicated Codeظ룩](#1-duplicated-codeظ) + * [2. Long Method](#2-long-method) + * [3. Large Classࣩ](#3-large-class) + * [4. Long Parameter ListIJУ](#4-long-parameter-listIJ) + * [5. Divergent Changeɢʽ仯](#5-divergent-changeɢʽ仯) + * [6. Shotgun Surgeryɢʽ޸ģ](#6-shotgun-surgeryɢʽ޸) + * [7. Feature Envyᣩ](#7-feature-envy) + * [8. Data Clumpsţ](#8-data-clumps) + * [9. Primitive Obsessionƫִ](#9-primitive-obsessionƫִ) + * [10. Switch Statementsswitch ](#10-switch-statementsswitch-) + * [11. Parallel Inheritance Hierarchiesƽм̳ϵ](#11-parallel-inheritance-hierarchiesƽм̳ϵ) + * [12. Lazy Classࣩ](#12-lazy-class) + * [13. Speculative Generality̸δԣ](#13-speculative-generality̸δ) + * [14. Temporary FieldԻʱֶΣ](#14-temporary-fieldԻʱֶ) + * [15. Message ChainsϵϢ](#15-message-chainsϵϢ) + * [16. Middle Manмˣ](#16-middle-manм) + * [17. Inappropriate Intimacyǹϵ](#17-inappropriate-intimacyǹϵ) + * [18. Alernative Classes with Different Interfacesࣩͬ](#18-alernative-classes-with-different-interfacesͬ) + * [19. Incomplete Library Class⣩](#19-incomplete-library-class) + * [20. Data Classɵࣩ](#20-data-classɵ) + * [21. Refused Bequestܾ](#21-refused-bequestܾ) + * [22. Commentsעͣ](#22-commentsע) * [ ϵ](#-ϵ) * [ عб](#-عб) * [ ֯](#-֯) - * [1. Extract Method](#1-extract-method) - * [2. Inline Method](#2-inline-method) - * [3. Inline Tempʱ](#3-inline-tempʱ) - * [4. Replace Temp with QueryԲѯȡʱ](#4-replace-temp-with-queryԲѯȡʱ) - * [5. Introduce Explaining Variableͱ](#5-introduce-explaining-variableͱ) - * [6. Split Temporary Variableֽʱ](#6-split-temporary-variableֽʱ) - * [7. Remove Assigments to ParametersƳԲĸֵ](#7-remove-assigments-to-parametersƳԲĸֵ) - * [8. Replace Method with Method ObjectԺȡ](#8-replace-method-with-method-objectԺȡ) - * [9. Subsititute Algorithn滻㷨](#9-subsititute-algorithn滻㷨) + * [1. Extract Method](#1-extract-method) + * [2. Inline Method](#2-inline-method) + * [3. Inline Tempʱ](#3-inline-tempʱ) + * [4. Replace Temp with QueryԲѯȡʱ](#4-replace-temp-with-queryԲѯȡʱ) + * [5. Introduce Explaining Variableͱ](#5-introduce-explaining-variableͱ) + * [6. Split Temporary Variableֽʱ](#6-split-temporary-variableֽʱ) + * [7. Remove Assigments to ParametersƳԲĸֵ](#7-remove-assigments-to-parametersƳԲĸֵ) + * [8. Replace Method with Method ObjectԺȡ](#8-replace-method-with-method-objectԺȡ) + * [9. Subsititute Algorithn滻㷨](#9-subsititute-algorithn滻㷨) * [ ڶ֮](#-ڶ֮) - * [1. Move Methodƺ](#1-move-methodƺ) - * [2. Move FieldֶΣ](#2-move-fieldֶΣ) - * [3. Extract Classࣩ](#3-extract-classࣩ) - * [4. Inline Class](#4-inline-class) - * [5. Hide Delegateءίйϵ](#5-hide-delegateءίйϵ) - * [6. Remove Middle ManƳмˣ](#6-remove-middle-manƳмˣ) - * [7. Introduce Foreign MethodӺ](#7-introduce-foreign-methodӺ) - * [8. Introduce Local Extension뱾չ](#8-introduce-local-extension뱾չ) + * [1. Move Methodƺ](#1-move-methodƺ) + * [2. Move FieldֶΣ](#2-move-fieldֶ) + * [3. Extract Classࣩ](#3-extract-class) + * [4. Inline Class](#4-inline-class) + * [5. Hide Delegateءίйϵ](#5-hide-delegateءίйϵ) + * [6. Remove Middle ManƳмˣ](#6-remove-middle-manƳм) + * [7. Introduce Foreign MethodӺ](#7-introduce-foreign-methodӺ) + * [8. Introduce Local Extension뱾չ](#8-introduce-local-extension뱾չ) * [ڰ ֯](#ڰ-֯) - * [1. Self Encapsulate FieldԷװֶΣ](#1-self-encapsulate-fieldԷװֶΣ) - * [2. Replace Data Value with ObjectԶȡֵ](#2-replace-data-value-with-objectԶȡֵ) - * [3. Change Value to Referenceֵijö](#3-change-value-to-referenceֵijö) - * [4. Change Reference to valueöΪֵ](#4-change-reference-to-valueöΪֵ) - * [5. Replace Array with ObjectԶȡ飩](#5-replace-array-with-objectԶȡ飩) - * [6. Duplicate Observed Dataֵݡ](#6-duplicate-observed-dataֵݡ) - * [7. Change Unidirectional Association to BidirectionalΪ˫](#7-change-unidirectional-association-to-bidirectionalΪ˫) - * [8. Change Bidirectional Association to Unidirectional˫Ϊ](#8-change-bidirectional-association-to-unidirectional˫Ϊ) - * [9. Replace Magic Number with Symbolic Constant泣ȡħ](#9-replace-magic-number-with-symbolic-constant泣ȡħ) - * [10. Encapsulate FieldװֶΣ](#10-encapsulate-fieldװֶΣ) - * [11. Encapsulate Collectionװϣ](#11-encapsulate-collectionװϣ) - * [12. Replace Record with Data Classȡ¼](#12-replace-record-with-data-classȡ¼) - * [13. Replace Type Code with Classȡ룩](#13-replace-type-code-with-classȡ룩) - * [14. Replace Type Code with Subcalssesȡ룩](#14-replace-type-code-with-subcalssesȡ룩) - * [15. Replace Type Code with State/Strategy State/Strategy ȡ룩](#15-replace-type-code-with-statestrategy--statestrategy-ȡ룩) - * [16. Replace Subclass with Fieldsֶȡࣩ](#16-replace-subclass-with-fieldsֶȡࣩ) + * [1. Self Encapsulate FieldԷװֶΣ](#1-self-encapsulate-fieldԷװֶ) + * [2. Replace Data Value with ObjectԶȡֵ](#2-replace-data-value-with-objectԶȡֵ) + * [3. Change Value to Referenceֵijö](#3-change-value-to-referenceֵijö) + * [4. Change Reference to valueöΪֵ](#4-change-reference-to-valueöΪֵ) + * [5. Replace Array with ObjectԶȡ飩](#5-replace-array-with-objectԶȡ) + * [6. Duplicate Observed Dataֵݡ](#6-duplicate-observed-dataֵݡ) + * [7. Change Unidirectional Association to BidirectionalΪ˫](#7-change-unidirectional-association-to-bidirectionalΪ˫) + * [8. Change Bidirectional Association to Unidirectional˫Ϊ](#8-change-bidirectional-association-to-unidirectional˫Ϊ) + * [9. Replace Magic Number with Symbolic Constant泣ȡħ](#9-replace-magic-number-with-symbolic-constant泣ȡħ) + * [10. Encapsulate FieldװֶΣ](#10-encapsulate-fieldװֶ) + * [11. Encapsulate Collectionװϣ](#11-encapsulate-collectionװ) + * [12. Replace Record with Data Classȡ¼](#12-replace-record-with-data-classȡ¼) + * [13. Replace Type Code with Classȡ룩](#13-replace-type-code-with-classȡ) + * [14. Replace Type Code with Subcalssesȡ룩](#14-replace-type-code-with-subcalssesȡ) + * [15. Replace Type Code with State/Strategy State/Strategy ȡ룩](#15-replace-type-code-with-statestrategy--statestrategy-ȡ) + * [16. Replace Subclass with Fieldsֶȡࣩ](#16-replace-subclass-with-fieldsֶȡ) * [ھ ʽ](#ھ-ʽ) - * [1. Decompose Conditionalֽʽ](#1-decompose-conditionalֽʽ) - * [2. Consolidate Conditional Expressionϲʽ](#2-consolidate-conditional-expressionϲʽ) - * [3. Consolidate Duplicate Conditional Fragments ϲظƬΣ](#3-consolidate-duplicate-conditional-fragments-ϲظƬΣ) - * [4. Remove Control FlagƳƱǣ](#4-remove-control-flagƳƱǣ) - * [5. Replace Nested Conditional with Guard Clauses ȡǶʽ](#5-replace-nested-conditional-with-guard-clauses-ȡǶʽ) - * [6. Replace Conditional with Polymorphism Զ̬ȡʽ](#6-replace-conditional-with-polymorphism-Զ̬ȡʽ) - * [7. Introduce Null ObjectNull](#7-introduce-null-objectnull) - * [8. Introduce Assertionԣ](#8-introduce-assertionԣ) + * [1. Decompose Conditionalֽʽ](#1-decompose-conditionalֽʽ) + * [2. Consolidate Conditional Expressionϲʽ](#2-consolidate-conditional-expressionϲʽ) + * [3. Consolidate Duplicate Conditional Fragments ϲظƬΣ](#3-consolidate-duplicate-conditional-fragments-ϲظƬ) + * [4. Remove Control FlagƳƱǣ](#4-remove-control-flagƳƱ) + * [5. Replace Nested Conditional with Guard Clauses ȡǶʽ](#5-replace-nested-conditional-with-guard-clauses-ȡǶʽ) + * [6. Replace Conditional with Polymorphism Զ̬ȡʽ](#6-replace-conditional-with-polymorphism-Զ̬ȡʽ) + * [7. Introduce Null ObjectNull](#7-introduce-null-objectnull) + * [8. Introduce Assertionԣ](#8-introduce-assertion) * [ʮ 򻯺](#ʮ-򻯺) - * [1. Rename Method](#1-rename-method) - * [2. Add ParameterӲ](#2-add-parameterӲ) - * [3. Remove ParameterƳ](#3-remove-parameterƳ) - * [4. Separate Query from Modifierѯ޸ĺ룩](#4-separate-query-from-modifierѯ޸ĺ룩) - * [5. Parameterize MethodЯ](#5-parameterize-methodЯ) - * [6. Replace Parameter with Explicit Methodsȷȡ](#6-replace-parameter-with-explicit-methodsȷȡ) - * [7. Preserve Whole Objectֶ](#7-preserve-whole-objectֶ) - * [8. Replace Parameter with MethodsԺȡ](#8-replace-parameter-with-methodsԺȡ) - * [9. Introduce Parameter Object](#9-introduce-parameter-object) - * [10. Remove Setting MethodƳֵ](#10-remove-setting-methodƳֵ) - * [11. Hide Methodغ](#11-hide-methodغ) - * [12. Replace Constructor with Factory Method Թȡ캯](#12-replace-constructor-with-factory-method-Թȡ캯) - * [13. Encapsulate Downcastװתͣ](#13-encapsulate-downcastװתͣ) - * [14. Replace Error Code with Exception 쳣ȡ룩](#14-replace-error-code-with-exception-쳣ȡ룩) - * [15. Replace Exception with TestԲȡ쳣](#15-replace-exception-with-testԲȡ쳣) + * [1. Rename Method](#1-rename-method) + * [2. Add ParameterӲ](#2-add-parameterӲ) + * [3. Remove ParameterƳ](#3-remove-parameterƳ) + * [4. Separate Query from Modifierѯ޸ĺ룩](#4-separate-query-from-modifierѯ޸ĺ) + * [5. Parameterize MethodЯ](#5-parameterize-methodЯ) + * [6. Replace Parameter with Explicit Methodsȷȡ](#6-replace-parameter-with-explicit-methodsȷȡ) + * [7. Preserve Whole Objectֶ](#7-preserve-whole-objectֶ) + * [8. Replace Parameter with MethodsԺȡ](#8-replace-parameter-with-methodsԺȡ) + * [9. Introduce Parameter Object](#9-introduce-parameter-object) + * [10. Remove Setting MethodƳֵ](#10-remove-setting-methodƳֵ) + * [11. Hide Methodغ](#11-hide-methodغ) + * [12. Replace Constructor with Factory Method Թȡ캯](#12-replace-constructor-with-factory-method-Թȡ캯) + * [13. Encapsulate Downcastװתͣ](#13-encapsulate-downcastװת) + * [14. Replace Error Code with Exception 쳣ȡ룩](#14-replace-error-code-with-exception-쳣ȡ) + * [15. Replace Exception with TestԲȡ쳣](#15-replace-exception-with-testԲȡ쳣) * [ʮһ ϵ](#ʮһ-ϵ) - * [1. Pull Up Fieldֶƣ](#1-pull-up-fieldֶƣ) - * [2. Pull Up Methodƣ](#2-pull-up-methodƣ) - * [3. Pull Up Constructor Body캯ƣ](#3-pull-up-constructor-body캯ƣ) - * [4. Push Down Methodƣ](#4-push-down-methodƣ) - * [5. Push Down Fieldֶƣ](#5-push-down-fieldֶƣ) - * [6. Extract Subclassࣩ](#6-extract-subclassࣩ) - * [7. Extract Superclassࣩ](#7-extract-superclassࣩ) - * [8. Extract Interfaceӿڣ](#8-extract-interfaceӿڣ) - * [9. Collapse Hierarchy۵̳ϵ](#9-collapse-hierarchy۵̳ϵ) - * [10. Form Template Methodģ庯](#10-form-template-methodģ庯) - * [11. Replace Inheritance with Delegation ίȡ̳У](#11-replace-inheritance-with-delegation-ίȡ̳У) - * [12. Replace Delegation with Inheritance Լ̳ȡίУ](#12-replace-delegation-with-inheritance-Լ̳ȡίУ) + * [1. Pull Up Fieldֶƣ](#1-pull-up-fieldֶ) + * [2. Pull Up Methodƣ](#2-pull-up-method) + * [3. Pull Up Constructor Body캯ƣ](#3-pull-up-constructor-body캯) + * [4. Push Down Methodƣ](#4-push-down-method) + * [5. Push Down Fieldֶƣ](#5-push-down-fieldֶ) + * [6. Extract Subclassࣩ](#6-extract-subclass) + * [7. Extract Superclassࣩ](#7-extract-superclass) + * [8. Extract Interfaceӿڣ](#8-extract-interfaceӿ) + * [9. Collapse Hierarchy۵̳ϵ](#9-collapse-hierarchy۵̳ϵ) + * [10. Form Template Methodģ庯](#10-form-template-methodģ庯) + * [11. Replace Inheritance with Delegation ίȡ̳У](#11-replace-inheritance-with-delegation-ίȡ̳) + * [12. Replace Delegation with Inheritance Լ̳ȡίУ](#12-replace-delegation-with-inheritance-Լ̳ȡί) -# һ عһ +# һ һ 㷢ԼҪΪһԣṹʹ޷ܷشĿģǾع