登录

立即登录

去注册

忘记密码?

验证码登录

点击获取验证码

立即登录

去注册

注册

点击获取验证码

立即注册

找回密码

点击获取验证码

确定

全部资讯

全部资讯   / 字节跳动初级JAVA面试题集(2021年)

字节跳动初级JAVA面试题集(2021年)

2021-12-25 14:00:35

<div class="WordSection1"> <p class="MsoNormal" style="margin-top:5.45pt;text-indent:3.4pt;mso-outline-level: 1"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.2pt">1</span></b><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt;mso-style-textoutline-type:solid; mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha:100.0%; mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">、锁可</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">以锁在哪里?字节调</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.1pt;text-indent:21.9pt;line-height:15.6pt; mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt;letter-spacing:.15pt">J</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .2pt">ava</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt;letter-spacing:.15pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing:.3pt">为程序加锁的方式主要有两种</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt;letter-spacing:.35pt">:</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt;letter-spacing:.2pt">synch</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .15pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt;letter-spacing:.2pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .15pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt;letter-spacing:.05pt">i</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .15pt">zed </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing:.25pt">与</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt;letter-spacing:.2pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .15pt">Lock</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing:.35pt">。</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:23.1pt;line-height:14.1pt;mso-line-height-rule: exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt; letter-spacing:.25pt">1</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.15pt">. </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .2pt">sy</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.25pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .2pt">c</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.25pt">h</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .15pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.2pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .25pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.1pt">i</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .2pt">ze</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.25pt">d</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .15pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .3pt">可以修饰的作用域如下</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.35pt">:</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:3.45pt;text-indent:22.45pt;line-height: 94%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.25pt">- </span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.5pt">非静态方法(加的锁为对象锁</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.6pt">)</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.55pt">;</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:3.3pt;text-indent:22.45pt;line-height: 94%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.3pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.5pt">静态方法(加的</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">锁为类锁</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.65pt">);</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:3.25pt;text-indent:22.45pt;line-height: 95%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.3pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.5pt">代码块(对象锁</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">与类锁均可</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.65pt">);</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.25pt;text-indent:22.5pt;line-height: 14.15pt;mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.2pt">2</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .15pt">. </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.2pt">Lock</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .15pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .3pt">采用</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.2pt">&nbsp;</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;position:relative; top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.1pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .2pt">ock</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.15pt">()</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .3pt">对代码加锁,</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.2pt">un</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .05pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.15pt">ock</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .1pt">()</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.25pt">进行解锁</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.85pt;text-indent:22.15pt;line-height: 126%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章:</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://blog.csdn.net/yx0628/article/details/79086511"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.2pt">tt</span><span style="color:#003884">p</span><span style="color:#003884;letter-spacing:.3pt">s</span><span style="color:#003884;letter-spacing:.25pt">://</span><span style="color:#003884">b</span><span style="color:#003884;letter-spacing:.15pt">l</span><span style="color:#003884; letter-spacing:.3pt">o</span><span style="color:#003884">g</span><span style="color:#003884;letter-spacing:.2pt">.</span><span style="color:#003884; letter-spacing:.3pt">cs</span><span style="color:#003884">d</span><span style="color:#003884;letter-spacing:.3pt">n</span><span style="color:#003884; letter-spacing:.15pt">.</span><span style="color:#003884;letter-spacing:.3pt">n</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884; letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.25pt">yx</span><span style="color:#003884; letter-spacing:.3pt">0628</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.25pt">a</span><span style="color:#003884; letter-spacing:.2pt">r</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.1pt">i</span><span style="color:#003884; letter-spacing:.25pt">c</span><span style="color:#003884;letter-spacing:.1pt">l</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884; letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.3pt">d</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884; letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.25pt">a</span><span style="color:#003884;letter-spacing:.1pt">il</span><span style="color:#003884; letter-spacing:.25pt">s</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.3pt">79086511</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:4.15pt;text-indent:2.55pt"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">2</span></b><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.5pt;mso-style-textoutline-type:solid; mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha:100.0%; mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">、</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">怎么利用反射获取类中的对象?</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.15pt;text-indent:23.1pt;line-height:14.15pt; mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.05pt">1.</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .1pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .05pt">获取 </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.05pt">Class </span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .05pt">对象</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.45pt;text-indent:22.5pt;line-height: 14.15pt;mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.2pt">2</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .15pt">. </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing:.3pt">通过</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise: .5pt;letter-spacing:.2pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .2pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.1pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .2pt">ass</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.15pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing:.25pt">对象获取构造方法</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.45pt;text-indent:22.55pt;line-height: 14.15pt;mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.3pt">3</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .2pt">. </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing:.45pt">通过构造方法调用</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise: .5pt;letter-spacing:.25pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .25pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.2pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .3pt">w</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.15pt">I</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .25pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.2pt">s</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .15pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.25pt">an</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .2pt">ce</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.15pt">()</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .4pt">方法创建对象实例</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:3.5pt;margin-right:5.85pt;margin-bottom: 0cm;margin-left:22.55pt;margin-bottom:.0001pt;text-indent:-.4pt;line-height: 120%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://baijiahao.baidu.com/s?id=1619748187138646880&amp;wfr=spider&amp;fo">h<span style="letter-spacing:.2pt">tt</span>p<span style="letter-spacing:.3pt">s</span><span style="letter-spacing:.25pt">://</span>b<span style="letter-spacing:.3pt">a</span><span style="letter-spacing:.15pt">i</span><span style="letter-spacing:.2pt">j</span><span style="letter-spacing:.15pt">i</span><span style="letter-spacing:.3pt">ah</span><span style="letter-spacing:.25pt">ao</span><span style="letter-spacing:.15pt">.</span><span style="letter-spacing:.3pt">b</span><span style="letter-spacing:.25pt">a</span><span style="letter-spacing:.1pt">i</span><span style="letter-spacing:.3pt">du</span><span style="letter-spacing:.15pt">.</span><span style="letter-spacing:.25pt">co</span><span style="letter-spacing:.45pt">m</span><span style="letter-spacing:.2pt">/</span><span style="letter-spacing:.25pt">s?</span><span style="letter-spacing:.1pt">i</span><span style="letter-spacing:.3pt">d</span>=<span style="letter-spacing:.3pt">1619748187138646880</span>&amp;w<span style="letter-spacing:.15pt">f</span><span style="letter-spacing:.2pt">r</span>=<span style="letter-spacing:.25pt">s</span><span style="letter-spacing:.3pt">p</span><span style="letter-spacing:.1pt">i</span><span style="letter-spacing:.3pt">d</span><span style="letter-spacing:.25pt">e</span><span style="letter-spacing:.2pt">r</span>&amp;<span style="letter-spacing:.15pt">f</span><span style="letter-spacing:.25pt">o</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884"> <u><span style="letter-spacing:.05pt">r=p</span>c</u></span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:2.1pt;line-height:28.85pt;mso-line-height-rule: exactly"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt">3</span></b><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing:-4.85pt; mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .601pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">、</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt">HTTP</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt;letter-spacing:-.05pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">和</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">https</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">区别?</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.3pt;margin-right:5.35pt;margin-bottom: 0cm;margin-left:22.0pt;margin-bottom:.0001pt;text-indent:1.05pt;line-height: 115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.25pt">1</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">. </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">H</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">明文传输,数据都是未加密的,安全性较差,</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">H</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">TTPS</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.4pt">(</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">SSL</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">+</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">H</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">TTP</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">)</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333">&nbsp; </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.35pt">数据</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.45pt">传输过程是加密的</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.4pt">安全性较好</span><span style="letter-spacing:.55pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.3pt;margin-right:5.1pt;margin-bottom: 0cm;margin-left:22.0pt;margin-bottom:.0001pt;text-indent:.5pt;line-height:115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">2</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">.</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">使用</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">H</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">S</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">协议需要到</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">CA</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">(</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">C</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">rt</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">ifi</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">ca</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">Au</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">h</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">i</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">y</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">数字证书认证机构</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">)</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333">&nbsp; </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">申</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.45pt">请证书</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.45pt">一般免费证书较少</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.45pt">因而需要一定费用</span><span style="letter-spacing:.5pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:3.3pt;margin-right:5.5pt;margin-bottom: 0cm;margin-left:22.15pt;margin-bottom:.0001pt;text-indent:.4pt;line-height: 115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.5pt">3</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">. </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .6pt">H</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.5pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.75pt">页面响应速度比</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.55pt">H</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.5pt">S</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.7pt">快</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.8pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.7pt">主要是因为</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.55pt">H</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.35pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">使用</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.45pt">T</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .5pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.45pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.7pt">三次握手建立</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.85pt">连接</span><span style="letter-spacing:.9pt">,</span><span style="letter-spacing:.85pt">客户端和服务器</span><span style="letter-spacing:.8pt">需要交换</span><span style="letter-spacing:.5pt"> </span></span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.5pt">3</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.8pt">个包</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.9pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.8pt">而</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.5pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.55pt">H</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.45pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.5pt">S</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.8pt">除了</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.5pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.45pt">T</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.55pt">C</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.8pt">的三个包</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.9pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.8pt">还要加</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.65pt">上</span><span style="letter-spacing:.4pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .35pt">ss</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.65pt">握手需要的</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.45pt">9</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">个包</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.75pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">所以一共是</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.4pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt">12</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.6pt">个包</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.75pt">。</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.05pt;margin-right:8.05pt;margin-bottom: 0cm;margin-left:22.15pt;margin-bottom:.0001pt;text-indent:-.05pt;line-height: 115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.4pt">4</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">. </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt">h</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">tt</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt">p</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">和</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.4pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt">h</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">tt</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt">p</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.35pt">s</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.6pt">使用的是</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.55pt">完全不同的连接方式</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.55pt">用的端口也不一样</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.55pt">前者是</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">80</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.35pt">后者</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.3pt">是</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">443</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">。</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.25pt;margin-right:5.3pt;margin-bottom: 0cm;margin-left:23.2pt;margin-bottom:.0001pt;text-indent:-.55pt;line-height: 115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.55pt">5</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">.</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.6pt">H</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.5pt">TTP</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .55pt">S</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.85pt">其实就是建构在</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.55pt">SS</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">L</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt">/</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.5pt">T</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">L</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.55pt">S</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.85pt">之上的</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.5pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.6pt">H</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .5pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.85pt">协议</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.95pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.85pt">所以</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.95pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.85pt">要比较</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.6pt">H</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .5pt">TTP</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.55pt">S</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333"> </span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.45pt">比</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.35pt">H</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">TTP</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.45pt">要更耗费服务器资源。</span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.7pt;text-indent:22.15pt;line-height:124%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章:</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://www.runoob.com/w3cnote/http-vs-https.html"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.2pt">tt</span><span style="color:#003884;letter-spacing:.3pt">ps</span><span style="color:#003884; letter-spacing:.25pt">://</span><span style="color:#003884;letter-spacing:.4pt">www</span><span style="color:#003884;letter-spacing:.2pt">.</span><span style="color:#003884; letter-spacing:.25pt">r</span><span style="color:#003884">un</span><span style="color:#003884;letter-spacing:.3pt">oob</span><span style="color:#003884; letter-spacing:.2pt">.</span><span style="color:#003884;letter-spacing:.3pt">co</span><span style="color:#003884;letter-spacing:.45pt">m</span><span style="color:#003884; letter-spacing:.2pt">/</span><span style="color:#003884">w</span><span style="color:#003884;letter-spacing:.3pt">3</span><span style="color:#003884; letter-spacing:.25pt">c</span><span style="color:#003884;letter-spacing:.3pt">n</span><span style="color:#003884;letter-spacing:.25pt">o</span><span style="color:#003884; letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.3pt">h</span><span style="color:#003884;letter-spacing:.15pt">tt</span><span style="color:#003884;letter-spacing:.25pt">p</span><span style="color:#003884; letter-spacing:.2pt">-</span><span style="color:#003884;letter-spacing:.25pt">vs</span><span style="color:#003884;letter-spacing:.2pt">-</span><span style="color:#003884; letter-spacing:.3pt">h</span><span style="color:#003884;letter-spacing:.15pt">tt</span><span style="color:#003884;letter-spacing:.25pt">ps</span><span style="color:#003884; letter-spacing:.15pt">.</span><span style="color:#003884;letter-spacing:.3pt">h</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884; letter-spacing:.45pt">m</span><span style="color:#003884;letter-spacing:.1pt">l</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:1.55pt;line-height:28.85pt;mso-line-height-rule: exactly"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt">4</span></b><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.0pt;mso-text-raise:2.0pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">、谈谈你对</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.0pt;mso-text-raise: 2.0pt;letter-spacing:.05pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt">TCP</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .05pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt">/</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .05pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt">IP</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .05pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">协议的了解</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.35pt;margin-right:5.75pt;margin-bottom: 0cm;margin-left:22.1pt;margin-bottom:.0001pt;text-indent:1.0pt;line-height: 115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.45pt">1</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">. </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt">T</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.45pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt">P</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .35pt">/</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">I</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt">P</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">是一个协议簇</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.65pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">是一个</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.55pt">开放的协议标准</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.65pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.55pt">所有人都可以免费使用</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.65pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.55pt">并且是</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.45pt">独立于硬</span><span style="letter-spacing:.4pt">件和操作系统的</span><span style="letter-spacing:.45pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.3pt;margin-right:5.85pt;margin-bottom: 0cm;margin-left:22.15pt;margin-bottom:.0001pt;text-indent:.3pt;line-height: 115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.6pt">2</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt">. </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .6pt">T</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.65pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.6pt">P</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">/I</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.6pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.9pt">协议是不区分网络硬件的</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:1.0pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.9pt">它在局</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.85pt">域网</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:1.0pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.85pt">广域网和互联网中都被广泛使</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> 用。</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.15pt;margin-right:5.65pt;margin-bottom: 0cm;margin-left:22.1pt;margin-bottom:.0001pt;text-indent:.4pt;line-height:117%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">3</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">.</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">T</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .35pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">/</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">I</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">协议使用统一的网络地址分配的方案</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">网络中的每台电脑都具有唯一的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">I</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333"> </span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.2pt">地址</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt">。</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.8pt;margin-right:5.75pt;margin-bottom: 0cm;margin-left:22.1pt;margin-bottom:.0001pt;line-height:115%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.45pt">4</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">. </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.45pt">TC</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.4pt">P</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">/I</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.6pt">协议是一个标准的高层协议</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.6pt">拥有极高的可靠性</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.6pt">可以为用户提供可靠的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.2pt">服务</span><span style="letter-spacing:.25pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:3.3pt;text-indent:22.15pt;line-height: 94%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章:</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.7pt;text-indent:22.6pt;line-height:128%"><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://blog.csdn.net/my_learning_road/article/details/79941273"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.2pt">tt</span><span style="color:#003884">p</span><span style="color:#003884;letter-spacing:.3pt">s</span><span style="color:#003884;letter-spacing:.25pt">://</span><span style="color:#003884">b</span><span style="color:#003884;letter-spacing:.15pt">l</span><span style="color:#003884; letter-spacing:.3pt">o</span><span style="color:#003884">g</span><span style="color:#003884;letter-spacing:.2pt">.</span><span style="color:#003884; letter-spacing:.3pt">csdn</span><span style="color:#003884;letter-spacing:.15pt">.</span><span style="color:#003884;letter-spacing:.3pt">n</span><span style="color:#003884; letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.45pt">m</span><span style="color:#003884;letter-spacing:.25pt">y</span><span style="color:#003884;letter-spacing:.3pt">_</span><span style="color:#003884; letter-spacing:.1pt">l</span><span style="color:#003884;letter-spacing:.25pt">ea</span><span style="color:#003884;letter-spacing:.2pt">r</span><span style="color:#003884; letter-spacing:.3pt">n</span><span style="color:#003884;letter-spacing:.1pt">i</span><span style="color:#003884;letter-spacing:.3pt">ng_</span><span style="color:#003884; letter-spacing:.2pt">r</span><span style="color:#003884;letter-spacing:.25pt">oa</span><span style="color:#003884;letter-spacing:.3pt">d</span><span style="color:#003884; letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.25pt">a</span><span style="color:#003884;letter-spacing:.2pt">r</span><span style="color:#003884; letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.1pt">i</span><span style="color:#003884;letter-spacing:.25pt">c</span><span style="color:#003884; letter-spacing:.1pt">l</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.3pt">d</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884; letter-spacing:.25pt">a</span><span style="color:#003884;letter-spacing:.1pt">il</span><span style="color:#003884;letter-spacing:.25pt">s</span><span style="color:#003884; letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.3pt">79941273</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> </div><p> <span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-ansi-language: EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA;mso-no-proof:yes"><br clear="all" style="page-break-before:always;mso-break-type:section-break"> </span> </p><div class="WordSection2"> <p class="MsoNormal" style="margin-top:5.75pt;text-indent:2.35pt;line-height: 28.85pt;mso-line-height-rule:exactly;mso-outline-level:1"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">5</span></b><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt;letter-spacing:-9.2pt;mso-style-textoutline-type:solid;mso-style-textoutline-fill-color: #333333;mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .601pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">、</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">说说</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt;letter-spacing:-.05pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">Aop</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">和</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">IOC</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">的应用</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.3pt;margin-right:.35pt;margin-bottom: 0cm;margin-left:22.15pt;margin-bottom:.0001pt;text-indent:.25pt;line-height: 127%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.2pt">I</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">O</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">的主要应用场景体现在</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">B</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">eanFac</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">o</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">y</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">接口,</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">B</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">anFac</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">y</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.35pt">下面有具体的实现类</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.05pt">来</span>实现<span style="letter-spacing:.05pt"> </span></span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333">IOC<span style="letter-spacing: .05pt"> </span></span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333">的功能<span style="letter-spacing:.05pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.1pt;text-indent:21.8pt;line-height:95%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">AO</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">P</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.15pt">的主要应用场景</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt">:</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.15pt">日志</span><span style="letter-spacing:.2pt">、</span><span style="letter-spacing:.15pt">权限</span><span style="letter-spacing:.2pt">、</span><span style="letter-spacing:.15pt">事物等</span><span style="letter-spacing:.2pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.25pt;text-indent:2.05pt;line-height: 28.85pt;mso-line-height-rule:exactly"><b><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;position:relative; top:-1.0pt;mso-text-raise:1.0pt">6</span></b><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: -1.65pt;mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .601pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">、</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt">Spring</span></b><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;position:relative; top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:-.05pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">中</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise: 1.0pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt">bean</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">是线程安全的吗?</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.35pt;margin-right:.75pt;margin-bottom: 0cm;margin-left:22.25pt;margin-bottom:.0001pt;text-indent:.1pt;line-height: 120%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.8pt">S</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.7pt">p</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .5pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.35pt">i</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.75pt">n</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .7pt">g</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.45pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:1.1pt">容器中的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.65pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.8pt">B</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .7pt">ea</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.75pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.45pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:1.1pt">本身不具备线</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:1.05pt">程安全的特性</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.65pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:1.15pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:1.05pt">但是具体还是要结合具体</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333">scope </span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333">的 </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333">Bean </span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333">去研究<span style="letter-spacing:-.05pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.35pt;margin-right:0cm;margin-bottom:0cm; margin-left:21.7pt;margin-bottom:.0001pt;text-indent:1.4pt;line-height:119%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">1</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">.</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">S</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">p</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">i</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">g </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">容器中的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.3pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">B</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">ea</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">默认是单例的</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.5pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">所有线程都共享一个单实例的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.3pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">B</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">ea</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">因</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.45pt">此是存在资源的竞争。如果单例</span><span style="letter-spacing:.25pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">Bean</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">是一个无状态</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">Bean</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">,也就是线程中的</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">操作不</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.45pt">会对</span><span style="letter-spacing:.3pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">Bean</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">的成员执行查询以外的操作,那么这个单例</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">Bean</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">是线程安全的</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">。</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.45pt">比如</span> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">Sp</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">i</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">ng</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.35pt">m</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">v</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">c&nbsp; </span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">的</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">Con</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">ll</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">r </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">、</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">Se</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">v</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">i</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">c</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">、</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">D</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">ao</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">等,这些</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">Bean</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">大多是无状态的,</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.35pt">只</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.05pt">关注 于方法本身 。对 于有状态 </span>的<span style="letter-spacing:.05pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333">bean<span style="letter-spacing:.05pt"> </span></span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.05pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> 是线程<span style="letter-spacing:.05pt"> </span>不安全<span style="letter-spacing:.05pt"> </span>的<span style="letter-spacing:.05pt"> ,</span> 但是我们可<span style="letter-spacing:.05pt"> </span>以通过 </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">Th</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">eadLoca</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">l</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.4pt">去解决线程安全</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.35pt">的方法</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.45pt">。</span><span lang="EN-US" style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.05pt;margin-right:.35pt;margin-bottom: 0cm;margin-left:22.85pt;margin-bottom:.0001pt;text-indent:-.35pt;line-height: 117%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.3pt">2</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">. </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">对于原型</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">Bean</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">(即</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">sc</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">ope</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt">=</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">"</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">p</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">o</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">ype</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">"</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.45pt">)</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">每次</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">创建一个新对象</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">也就是线程之</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.25pt">间并不存在</span><span style="letter-spacing:.15pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">B</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">ean</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt">共享,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.25pt">自然是</span><span style="letter-spacing:.2pt">不会有线程安全的问题</span><span style="letter-spacing:.25pt">。</span></span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:22.15pt;line-height:124%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章:</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://blog.csdn.net/qq_29645505/article/details/88432001"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.2pt">tt</span><span style="color:#003884">p</span><span style="color:#003884;letter-spacing:.3pt">s</span><span style="color:#003884;letter-spacing:.25pt">://</span><span style="color:#003884">b</span><span style="color:#003884;letter-spacing:.15pt">l</span><span style="color:#003884; letter-spacing:.3pt">o</span><span style="color:#003884">g</span><span style="color:#003884;letter-spacing:.2pt">.</span><span style="color:#003884; letter-spacing:.3pt">csdn</span><span style="color:#003884;letter-spacing:.15pt">.</span><span style="color:#003884;letter-spacing:.3pt">n</span><span style="color:#003884; letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.3pt">qq_29645505</span><span style="color:#003884;letter-spacing: .2pt">/</span><span style="color:#003884;letter-spacing:.25pt">a</span><span style="color:#003884;letter-spacing:.2pt">r</span><span style="color:#003884; letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.1pt">i</span><span style="color:#003884;letter-spacing:.25pt">c</span><span style="color:#003884; letter-spacing:.1pt">l</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.3pt">d</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884; letter-spacing:.25pt">a</span><span style="color:#003884;letter-spacing:.1pt">il</span><span style="color:#003884;letter-spacing:.25pt">s</span><span style="color:#003884; letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.3pt">88432001</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:2.3pt;line-height:28.85pt;mso-line-height-rule: exactly"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt">7</span></b><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing:-8.4pt; mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .601pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">、</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt">Maven</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt;mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .601pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">中</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt">&nbsp;</span><b><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;position:relative; top:-2.5pt;mso-text-raise:2.5pt">package</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">和</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">install</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">区别</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.3pt;margin-right:.25pt;margin-bottom: 0cm;margin-left:22.15pt;margin-bottom:.0001pt;text-indent:.45pt;line-height: 127%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.15pt">package</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt">是把</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">j</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">a</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt">r </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt">打到本项目的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">a</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.05pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">ge</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .05pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt">下</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt">而</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">i</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">ns</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.05pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">a</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .05pt">ll</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt">时把</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">a</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.05pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">ge</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .05pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt">下的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">j</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">a</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.05pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.2pt">安装到</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.45pt">本地仓库</span><span style="letter-spacing:.5pt">,</span><span style="letter-spacing:.4pt">供其他项目使用</span><span style="letter-spacing:.5pt">。</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.7pt;text-indent:1.7pt;line-height:97%"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">8</span></b><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt;mso-style-textoutline-type:solid; mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha:100.0%; mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">、遇到过哪些</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">设计模式?</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.05pt;text-indent:22.15pt;line-height: 126%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章:</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://www.cnblogs.com/Leo_wl/p/6067267.html"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.2pt">tt</span><span style="color:#003884; letter-spacing:.3pt">ps</span><span style="color:#003884;letter-spacing:.25pt">://</span><span style="color:#003884;letter-spacing:.4pt">www</span><span style="color:#003884; letter-spacing:.2pt">.</span><span style="color:#003884;letter-spacing:.3pt">c</span><span style="color:#003884">n</span><span style="color:#003884;letter-spacing:.3pt">b</span><span style="color:#003884;letter-spacing:.15pt">l</span><span style="color:#003884; letter-spacing:.3pt">o</span><span style="color:#003884;letter-spacing:.25pt">gs</span><span style="color:#003884;letter-spacing:.15pt">.</span><span style="color:#003884; letter-spacing:.25pt">co</span><span style="color:#003884;letter-spacing:.45pt">m</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.25pt">Leo</span><span style="color:#003884;letter-spacing:.3pt">_</span><span style="color:#003884">w</span><span style="color:#003884;letter-spacing:.1pt">l</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.25pt">p</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.3pt">6067267</span><span style="color: #003884;letter-spacing:.15pt">.</span><span style="color:#003884;letter-spacing: .3pt">h</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.45pt">m</span><span style="color:#003884; letter-spacing:.1pt">l</span></a></span></u><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:4.15pt;text-indent:1.75pt"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">9</span></b><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.55pt;mso-style-textoutline-type:solid; mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha:100.0%; mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">、</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">谈谈简单工厂和抽象工厂的区别</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:2.15pt;margin-right:.95pt;margin-bottom: 0cm;margin-left:22.15pt;margin-bottom:.0001pt;text-indent:.15pt;line-height: 120%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.65pt">简单工厂模式:是由一个工厂对象创建产品实例,简单工厂模</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.6pt">式的工厂类一般是使用</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.5pt">静态方法</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.5pt">通过不同的参数的创建不同的对象实例</span><span style="letter-spacing:.3pt"> </span><span style="letter-spacing:.5pt">可以生产结构中的任意产</span><span style="letter-spacing:.45pt">品</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.45pt">不能</span> <span style="letter-spacing:.4pt">增加新的产品</span></span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.05pt;margin-right:1.0pt;margin-bottom: 0cm;margin-left:22.05pt;margin-bottom:.0001pt;line-height:111%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">抽象工厂模式:</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333">&nbsp; </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">提供一个创建一系列</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.35pt">相关或相互依赖对象的接口</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.4pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.35pt">而无需制定他们具</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.5pt">体的类</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.5pt">生产多个系列产品</span><span style="letter-spacing:.3pt"> </span><span style="letter-spacing:.5pt">生产不同产品族的全部产品</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.5pt">不能新增产品</span><span style="letter-spacing:.55pt">,</span><span style="letter-spacing:.5pt">可</span><span style="letter-spacing:.45pt">以新增产</span> <span style="letter-spacing:.25pt">品</span><span style="letter-spacing:.2pt">族</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.6pt;text-indent:22.15pt;line-height:120%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:1.0pt">参考文章:</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.65pt"><a href="https://www.cnblogs.com/gclokok/p/10029088.html"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.4pt">tt</span><span style="color:#003884">p</span><span style="color:#003884;letter-spacing:.55pt">s</span><span style="color:#003884; letter-spacing:.45pt">://</span><span style="color:#003884;letter-spacing:.8pt">www</span><span style="color:#003884;letter-spacing:.4pt">.</span><span style="color:#003884; letter-spacing:.55pt">c</span><span style="color:#003884">nb</span><span style="color:#003884;letter-spacing:.3pt">l</span><span style="color:#003884; letter-spacing:.6pt">o</span><span style="color:#003884">g</span><span style="color:#003884;letter-spacing:.55pt">s</span><span style="color:#003884; letter-spacing:.4pt">.</span><span style="color:#003884;letter-spacing:.55pt">c</span><span style="color:#003884;letter-spacing:.6pt">o</span><span style="color:#003884; letter-spacing:.95pt">m</span><span style="color:#003884;letter-spacing:.45pt">/</span><span style="color:#003884">g</span><span style="color:#003884;letter-spacing:.5pt">c</span><span style="color:#003884;letter-spacing:.25pt">l</span><span style="color:#003884; letter-spacing:.55pt">okok</span><span style="color:#003884;letter-spacing: .4pt">/</span><span style="color:#003884;letter-spacing:.6pt">p</span><span style="color:#003884;letter-spacing:.4pt">/</span><span style="color:#003884; letter-spacing:.6pt">10029088</span><span style="color:#003884;letter-spacing: .35pt">.</span><span style="color:#003884;letter-spacing:.6pt">h</span><span style="color:#003884;letter-spacing:.35pt">t</span><span style="color:#003884; letter-spacing:.9pt">m</span><span style="color:#003884;letter-spacing:.25pt">l</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:.1pt;margin-right:.25pt;margin-bottom: 0cm;margin-left:1.7pt;margin-bottom:.0001pt;text-indent:2.05pt;line-height: 104%"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.25pt">10</span></b><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.3pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.678pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">、说说你常用的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt"> </span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">L</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">i</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">n</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">u</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">x</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt;mso-style-textoutline-type:solid; mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha:100.0%; mso-style-textoutline-outlinestyle-dpiwidth:.678pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">基本操作命</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> 令</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:22.65pt;line-height:15.6pt;mso-line-height-rule: exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt; letter-spacing:.2pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt;letter-spacing:.3pt">s</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .25pt">&nbsp;- </span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .55pt">用来显示</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing:.5pt">目标列表</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="text-indent:22.2pt;line-height:14.15pt;mso-line-height-rule: exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt; letter-spacing:.3pt">c</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.4pt">d</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .25pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .3pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.25pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing:.6pt">用来</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise: .5pt;letter-spacing:.55pt">切换工作目录</span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.45pt;text-indent:22.6pt;line-height: 14.15pt;mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.35pt">p</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .45pt">w</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.35pt">d</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .2pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .25pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.2pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.55pt">以绝对路径的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise: 1.0pt;letter-spacing:.5pt">方式显示用户当前工作目录</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.45pt;text-indent:22.2pt;line-height: 14.15pt;mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.35pt">ca</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .25pt">t </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.3pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .25pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .6pt">文件内容</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing:.55pt">查看</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-top:1.45pt;margin-right:.85pt;margin-bottom: 0cm;margin-left:22.25pt;margin-bottom:.0001pt;line-height:127%"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.5pt">g</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .35pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.5pt">ep</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt"> </span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.35pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.8pt">是一种强大的文本搜索工具</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.9pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.8pt">它能使用正则表达式搜索文本</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.85pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.8pt">并把匹配的行</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.35pt">打印</span><span style="letter-spacing:.3pt">出来</span></span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p> </div><p> <span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-ansi-language: EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA;mso-no-proof:yes"><br clear="all" style="page-break-before:always;mso-break-type:section-break"> </span> </p><p class="MsoNormal" style="margin-top:2.8pt;text-indent:22.0pt;line-height:15.6pt; mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt;letter-spacing:.25pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .35pt">a</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt;letter-spacing:.2pt">il</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .25pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .3pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt;letter-spacing:.25pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing:.6pt">输出</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.0pt;mso-text-raise: 2.0pt;letter-spacing:.55pt">文件中的尾部内容</span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p><p class="MsoNormal" style="text-indent:22.6pt;line-height:14.1pt;mso-line-height-rule: exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt; letter-spacing:.35pt">p</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.3pt">s</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .2pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .25pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.2pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.55pt">用于报告当前系</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise: 1.0pt;letter-spacing:.5pt">统的进程状态</span><span lang="EN-US" style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p><p class="MsoNormal" style="margin-top:1.45pt;text-indent:22.65pt;line-height: 15.6pt;mso-line-height-rule:exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt;letter-spacing:.35pt">k</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .2pt">ill </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.0pt; mso-text-raise:2.0pt;letter-spacing:.25pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .2pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing: .55pt">命令用</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.0pt;mso-text-raise:2.0pt;letter-spacing:.5pt">来删除执行中的程序或工作</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p><p class="MsoNormal" style="text-indent:22.0pt;line-height:14.1pt;mso-line-height-rule: exactly"><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt; letter-spacing:.25pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.35pt">op</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .25pt">&nbsp;</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing: .3pt">-</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-1.0pt; mso-text-raise:1.0pt;letter-spacing:.25pt">&nbsp;</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-1.0pt;mso-text-raise:1.0pt;letter-spacing:.55pt">可以实时动态地查看系统的整体</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-1.0pt;mso-text-raise: 1.0pt;letter-spacing:.5pt">运行情况</span><span lang="EN-US" style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体"><o:p></o:p></span></p><p class="MsoNormal" style="margin-top:1.45pt;text-indent:3.4pt;line-height:28.85pt; mso-line-height-rule:exactly;mso-outline-level:1"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .05pt">1</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-2.5pt; mso-text-raise:2.5pt">1</span></b><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing:.05pt; mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .601pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">、</span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">谈谈</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise: 2.5pt;letter-spacing:.05pt">&nbsp;</span><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt">Currenthashmap</span></b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;letter-spacing: .05pt">&nbsp;</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-2.5pt;mso-text-raise:2.5pt;mso-style-textoutline-type: solid;mso-style-textoutline-fill-color:#333333;mso-style-textoutline-fill-alpha: 100.0%;mso-style-textoutline-outlinestyle-dpiwidth:.601pt;mso-style-textoutline-outlinestyle-linecap: square;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit: 0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align: center;mso-style-textoutline-outlinestyle-compound:simple">的扩容机制</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p><p class="MsoNormal" style="margin-top:4.35pt;text-indent:21.9pt;line-height: 13.2pt;mso-line-height-rule:exactly"><b><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;position:relative; top:-.5pt;mso-text-raise:.5pt;letter-spacing:.2pt">J</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .3pt">D</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.25pt">K1</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .15pt">.</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.25pt">7</span></b><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .4pt;mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .299pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">:</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p><p class="MsoNormal" style="margin-top:.35pt;margin-right:.6pt;margin-bottom: 0cm;margin-left:22.25pt;margin-bottom:.0001pt;line-height:122%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">先对数组的长度增加一倍,然后遍历原来的旧的</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt">a</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.45pt">b</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">l</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .4pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">数组,把</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.65pt">每一个数组元素也就</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.55pt">是</span><span style="letter-spacing:.35pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .45pt">N</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.4pt">od</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.35pt">e</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.5pt">链表迁移到新的数组里面</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.5pt">最后迁移完毕之后</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.6pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.5pt">把新数组的引用直接替换旧</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333"> 的<span style="letter-spacing:-.1pt">。</span></span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p><p class="MsoNormal" style="margin-top:.9pt;text-indent:21.9pt;line-height:13.2pt; mso-line-height-rule:exactly"><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.2pt">J</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .3pt">D</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.25pt">K1</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .15pt">.</span></b><b><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;position:relative;top:-.5pt; mso-text-raise:.5pt;letter-spacing:.25pt">8</span></b><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;position:relative;top:-.5pt;mso-text-raise:.5pt;letter-spacing: .4pt;mso-style-textoutline-type:solid;mso-style-textoutline-fill-color:#333333; mso-style-textoutline-fill-alpha:100.0%;mso-style-textoutline-outlinestyle-dpiwidth: .299pt;mso-style-textoutline-outlinestyle-linecap:square;mso-style-textoutline-outlinestyle-join: bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash: solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound: simple">:</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体"><o:p></o:p></span></p><p class="MsoNormal" style="margin-top:2.45pt;margin-right:.1pt;margin-bottom: 0cm;margin-left:22.0pt;margin-bottom:.0001pt;text-indent:.05pt;line-height: 117%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.65pt">扩容时候会判断这个值</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.65pt">如果超过阈值就要扩容</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.7pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.65pt">首先根据运算得到</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.6pt">需要遍历的次数</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">i </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.1pt">,然后利用 </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">tabA</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.05pt">方法获得</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.1pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.05pt">i</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.05pt">位置的元素</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.1pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">f</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.1pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.05pt">初始化一个</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.1pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">forwardNode</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.05pt">实例</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.1pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">fwd</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.1pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333"> <span style="letter-spacing:.25pt">如果</span><span style="letter-spacing:.15pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">f</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">==</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">nu</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">ll</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.25pt">,则在</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">ab</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">e </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt">中的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt">i</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.25pt">位置放入</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt">f</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">w</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">d </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.25pt">,否则采用头插</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.2pt">法的方式把当前旧</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">ab</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">数组的指定任务范围的数据给迁移到新的数组中</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">然后</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">给旧</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .3pt">ab</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">e</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.45pt">原位置赋值</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family: Verdana;color:#333333;letter-spacing:.15pt">f</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.25pt">w</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">d</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.35pt">。</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.3pt">直到遍历过所有的节点以后就完成了复制工作</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.35pt">,</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.3pt">把</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.2pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">ab</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">e</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.3pt">指向</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.2pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">n</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">ex</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt">t</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">Tab</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.05pt">l</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">e </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.35pt">,</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.25pt">并</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.45pt">更新</span><span style="letter-spacing:.25pt"> </span></span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.25pt">s</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">i</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .25pt">ze</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">C</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">t</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">l</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.45pt">为新数组大小的</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333;letter-spacing:.25pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.3pt">0</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">.</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.3pt">75</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">倍</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.45pt">,扩容完成。在</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.4pt">此期间如果其他线程的有读写</span><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体;color:#333333"> <span style="letter-spacing:.25pt">操作都会判断</span><span style="letter-spacing:.15pt"> </span></span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">h</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">ea</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">d</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .1pt"> </span><span style="font-family:宋体;mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.25pt">节点是否为</span><span style="font-family:宋体;mso-fareast-font-family: 宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:宋体;color:#333333; letter-spacing:.15pt"> </span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.1pt">f</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.2pt">o</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .15pt">r</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.2pt">w</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.15pt">ar</span><span lang="EN-US" style="font-family: &quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana;color:#333333;letter-spacing: .2pt">dNod</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif; mso-bidi-font-family:Verdana;color:#333333;letter-spacing:.15pt">e</span><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#333333;letter-spacing:.1pt"> </span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.25pt">节点</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.3pt">,</span><span style="font-family:宋体; mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.2pt">如果是就帮助扩容</span><span style="font-family: 宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family: 宋体;color:#333333;letter-spacing:.3pt">。</span><span lang="EN-US" style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:宋体"><o:p></o:p></span></p><p> </p><p class="MsoNormal" style="margin-top:.05pt;text-indent:22.15pt;line-height: 126%"><span style="font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-theme-font: minor-fareast;mso-bidi-font-family:宋体;color:#333333;letter-spacing:.5pt">参考文章:</span><u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana; color:#003884;letter-spacing:.35pt"><a href="https://blog.csdn.net/axibaaa/article/details/97109455"><span style="color:#003884">h</span><span style="color:#003884;letter-spacing:.2pt">tt</span><span style="color:#003884;letter-spacing:.3pt">ps</span><span style="color:#003884; letter-spacing:.25pt">://</span><span style="color:#003884;letter-spacing:.3pt">b</span><span style="color:#003884;letter-spacing:.15pt">l</span><span style="color:#003884; letter-spacing:.3pt">og</span><span style="color:#003884;letter-spacing:.2pt">.</span><span style="color:#003884;letter-spacing:.3pt">csd</span><span style="color:#003884">n</span><span style="color:#003884;letter-spacing:.2pt">.</span><span style="color:#003884">n</span><span style="color:#003884;letter-spacing:.3pt">e</span><span style="color:#003884; letter-spacing:.2pt">t</span><span style="color:#003884;letter-spacing:.25pt">/</span><span style="color:#003884;letter-spacing:.3pt">a</span><span style="color:#003884; letter-spacing:.25pt">x</span><span style="color:#003884;letter-spacing:.1pt">i</span><span style="color:#003884;letter-spacing:.25pt">baaa</span><span style="color:#003884; letter-spacing:.2pt">/</span><span style="color:#003884;letter-spacing:.25pt">a</span><span style="color:#003884;letter-spacing:.2pt">r</span><span style="color:#003884; letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.1pt">i</span><span style="color:#003884;letter-spacing:.25pt">c</span><span style="color:#003884; letter-spacing:.1pt">l</span><span style="color:#003884;letter-spacing:.25pt">e</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.25pt">de</span><span style="color:#003884;letter-spacing:.15pt">t</span><span style="color:#003884;letter-spacing:.25pt">a</span><span style="color:#003884; letter-spacing:.1pt">il</span><span style="color:#003884;letter-spacing:.25pt">s</span><span style="color:#003884;letter-spacing:.2pt">/</span><span style="color:#003884; letter-spacing:.3pt">97109455</span></a></span></u><span lang="EN-US" style="font-family:&quot;Verdana&quot;,sans-serif;mso-bidi-font-family:Verdana"><o:p></o:p></span></p>

上一篇 下一篇

热门资讯