锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲AV无码专区国产乱码4SE,国产亚洲精品美女久久久,亚洲无码日韩精品第一页http://m.tkk7.com/fidodido/category/2509.html瀛愬 緙栫▼ 浠g爜涓庢垜鍚屽湪zh-cnTue, 27 Feb 2007 10:47:35 GMTTue, 27 Feb 2007 10:47:35 GMT60緙虹渷閫傞厤鍣ㄦā寮忥紙Default Adapter錛?/title><link>http://m.tkk7.com/fidodido/archive/2005/09/06/12197.html</link><dc:creator>^ Mustang ^</dc:creator><author>^ Mustang ^</author><pubDate>Tue, 06 Sep 2005 04:01:00 GMT</pubDate><guid>http://m.tkk7.com/fidodido/archive/2005/09/06/12197.html</guid><wfw:comment>http://m.tkk7.com/fidodido/comments/12197.html</wfw:comment><comments>http://m.tkk7.com/fidodido/archive/2005/09/06/12197.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/fidodido/comments/commentRss/12197.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/fidodido/services/trackbacks/12197.html</trackback:ping><description><![CDATA[<H4>涓銆佹榪?/H4> <P>褰撲笉闇瑕佸叏閮ㄥ疄鐜伴傞厤鍣ㄦ帴鍙f彁渚涚殑鏂規硶鏃訛紝鍙厛璁捐涓涓娊璞$被瀹炵幇閫傞厤鍣ㄦ帴鍙o紝騫朵負鎺ュ彛涓瘡涓柟娉曟彁渚涗竴涓粯璁ゅ疄鐜幫紙絀烘柟娉曪級銆傞偅涔堣鎶借薄綾葷殑瀛愮被鍙湁閫夋嫨鍦拌鐩栫埗綾葷殑鏌愪簺鏂規硶鏉ュ疄鐜伴渶姹傘?/P> <H4>浜屻佺粨鏋?/H4> <P align=center><IMG height=243 alt=defaultadapter.png src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/defaultadapter.png" width=138 border=0></P> <H4> </H4> <H4>涓夈佸姩鏈?/H4> <P>瀵逛簬涓涓帴鍙d笉鎯充嬌鐢ㄥ叾鎵鏈夌殑鏂規硶鏃躲?/P><img src ="http://m.tkk7.com/fidodido/aggbug/12197.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/fidodido/" target="_blank">^ Mustang ^</a> 2005-09-06 12:01 <a href="http://m.tkk7.com/fidodido/archive/2005/09/06/12197.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>A beginners guide to Dependency Injection [杞澆鑷猅SS]http://m.tkk7.com/fidodido/archive/2005/08/08/9610.html^ Mustang ^^ Mustang ^Mon, 08 Aug 2005 14:30:00 GMThttp://m.tkk7.com/fidodido/archive/2005/08/08/9610.htmlhttp://m.tkk7.com/fidodido/comments/9610.htmlhttp://m.tkk7.com/fidodido/archive/2005/08/08/9610.html#Feedback0http://m.tkk7.com/fidodido/comments/commentRss/9610.htmlhttp://m.tkk7.com/fidodido/services/trackbacks/9610.html闃呰鍏ㄦ枃

^ Mustang ^ 2005-08-08 22:30 鍙戣〃璇勮
]]>
閫傞厤鍣ㄦā寮忥紙Adapter錛?/title><link>http://m.tkk7.com/fidodido/archive/2005/08/06/9484.html</link><dc:creator>^ Mustang ^</dc:creator><author>^ Mustang ^</author><pubDate>Sat, 06 Aug 2005 11:39:00 GMT</pubDate><guid>http://m.tkk7.com/fidodido/archive/2005/08/06/9484.html</guid><wfw:comment>http://m.tkk7.com/fidodido/comments/9484.html</wfw:comment><comments>http://m.tkk7.com/fidodido/archive/2005/08/06/9484.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/fidodido/comments/commentRss/9484.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/fidodido/services/trackbacks/9484.html</trackback:ping><description><![CDATA[<H3>涓銆佹榪?/H3> <P>綾葷殑閫傞厤鍣ㄦā寮忔妸琚傞厤鐨勭被鐨凙PI杞崲鎴愪負鐩爣綾葷殑API</P> <P></P> <H3>浜屻佺粨鏋?/H3> <H4>1銆佺被鐨勯傞厤鍣ㄦā寮?/H4> <P align=center><IMG height=187 alt=o_adapter1.gif src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/o_adapter1.gif" width=257 border=0></P> <P>Target錛氭墍鏈熷緟寰楀埌鐨勬帴鍙?/P> <P>Adaptee錛氱幇鏈夐渶瑕侀傞厤鐨勭被</P> <P>Adapter錛氭妸婧愭帴鍙h漿鍖栨垚鐩爣鎺ュ彛鐨勬牳蹇冪被</P> <P></P> <H4>2銆佸璞$殑閫傞厤鍣ㄦā寮?/H4> <P align=center><IMG height=199 alt=o_adapter2.gif src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/o_adapter2.gif" width=257 border=0></P> <P>i銆佸悓涓涓傞厤鍣ㄥ彲浠ユ妸婧愬拰鍏跺瓙綾婚兘閫傞厤鍒扮洰鏍囨帴鍙?/P> <P>ii銆佷笌綾葷殑閫傞厤鍣ㄧ浉姣旓紝瑕佽鐩栨簮綾葷殑鏂規硶涓嶅緢瀹規槗錛岄櫎闈炲仛涓涓簮綾葷殑瀛愮被錛岀劧鍚庡瀛愮被閫傞厤</P> <P>iii銆佸彲浠ュ緢鏂逛究鍦版坊鍔犱竴涓柟娉?/P> <P></P> <H3>涓夈佸姩鏈?/H3> <P>1銆佺郴緇熼渶瑕佷嬌鐢ㄧ幇鏈夌殑綾伙紝鑰岃綾葷殑鎺ュ彛涓嶇鍚堢郴緇熸柊鐨勯渶瑕?/P> <P>2銆侀渶瑕佸緩绔嬩竴涓彲澶嶇敤鐨勭被鐢ㄤ簬浣夸竴浜涘郊姝や箣闂存病鏈夊お澶у叧緋葷殑綾諱竴鍚屽伐浣?/P> <P>3銆侀渶瑕佹敼鍙樺涓凡鏈夌殑瀛愮被鐨勬帴鍙?/P><img src ="http://m.tkk7.com/fidodido/aggbug/9484.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/fidodido/" target="_blank">^ Mustang ^</a> 2005-08-06 19:39 <a href="http://m.tkk7.com/fidodido/archive/2005/08/06/9484.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍘熷瀷妯″紡錛圥rototype錛?/title><link>http://m.tkk7.com/fidodido/archive/2005/08/05/9376.html</link><dc:creator>^ Mustang ^</dc:creator><author>^ Mustang ^</author><pubDate>Fri, 05 Aug 2005 02:54:00 GMT</pubDate><guid>http://m.tkk7.com/fidodido/archive/2005/08/05/9376.html</guid><wfw:comment>http://m.tkk7.com/fidodido/comments/9376.html</wfw:comment><comments>http://m.tkk7.com/fidodido/archive/2005/08/05/9376.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/fidodido/comments/commentRss/9376.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/fidodido/services/trackbacks/9376.html</trackback:ping><description><![CDATA[<H3>涓銆佹榪?/H3> <P><FONT size=2>鍘熷瀷妯″紡灞炰簬瀵硅薄鍒涘緩妯″紡錛岄氳繃緇欏嚭涓涓師鍨嬪璞℃潵鎸囨槑鎵瑕佸垱寤虹殑瀵硅薄綾誨瀷錛岀劧鍚庣敤澶嶅埗榪欎釜瀵硅薄鐨勬柟娉曞垱寤哄嚭鏇村鍚岀被鍨嬬殑瀵硅薄銆?BR></FONT></P> <P></P> <H4> </H4> <H3>浜屻佺粨鏋?/H3> <H4>1銆佺畝鍗曞艦寮?/H4> <P align=center><IMG height=168 alt=o_prototype1.gif src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/o_prototype1.gif" width=314 border=0></P> <P><FONT size=2>Client錛氭彁鍑哄垱寤哄璞$殑璇鋒眰</FONT></P> <P><FONT size=2>Prototype錛氭娊璞¤鑹詫紝緇欏嚭鎵鏈夊叿浣撳師鍨嬬被鎵闇鐨勬帴鍙?/FONT></P> <P><FONT size=2>ConcretePrototype錛氳澶嶅埗鐨勫璞?BR></FONT></P> <P></P> <H4><BR>2銆佺櫥璁板艦寮?/H4> <P align=center><IMG height=227 alt=o_prototype2.gif src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/o_prototype2.gif" width=326 border=0></P> <P><FONT size=2>PrototypeManager錛氬垱寤哄茍璁板綍鍏蜂綋瀵硅薄<BR></FONT></P> <P></P> <H4> </H4> <H3>涓夈佹祬鍏嬮殕涓庢繁鍏嬮殕</H3> <P><FONT size=2>嫻呭厠闅嗭細浠呭仛refrence涓綰х殑鍏嬮殕錛宺efrence鎵鎸囩殑瀵硅薄涓嶈鍏嬮殕</FONT></P> <P><FONT size=2>娣卞厠闅嗭細灝唕efrence鎵鎸囩殑瀵硅薄榪涜閫掑綊鍏嬮殕錛岄渶鑰冭檻鍏嬮殕娣卞害鍙婂驚鐜厠闅嗛棶棰?/FONT></P> <P></P> <H3><BR>鍥涖佸姩鏈?/H3> <P><FONT size=2>鏇挎崲杈冨鏉傜殑絳夌駭緇撴瀯鐨勫伐鍘傛柟娉?/FONT></P> <P></P> <H3><BR>浜斻佷紭緙虹偣</H3> <P><FONT color=#000000 size=2><FONT color=#9acd32>1銆?/FONT>鍏佽鍔ㄦ佸湴澧炲姞鎴栧噺灝戜駭鍝佺被錛屼笖瀵規暣涓幇鏈夌殑浜у搧緇撴瀯娌℃湁褰卞搷</FONT></P> <P><FONT color=#000000 size=2><FONT color=#9acd32>2銆?/FONT>鎻愪緵綆鍖栫殑鍒涘緩緇撴瀯</FONT></P> <P><FONT color=#000000 size=2><FONT color=#9acd32>3銆?/FONT>鍏鋒湁鍔ㄦ佸姞杞芥柊鍔熻兘鐨勮兘鍔?/FONT></P> <P><FONT color=#000000 size=2><FONT color=#9acd32>4銆?/FONT>浜у搧綾諱笉闇瑕佹湁紜畾鐨勭瓑綰х粨鏋?/FONT></P> <P><FONT color=#000000 size=2><FONT color=#ffa500>I銆?/FONT>姣忎竴涓被蹇呴』閰嶅涓涓厠闅嗘柟娉?/FONT></P><img src ="http://m.tkk7.com/fidodido/aggbug/9376.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/fidodido/" target="_blank">^ Mustang ^</a> 2005-08-05 10:54 <a href="http://m.tkk7.com/fidodido/archive/2005/08/05/9376.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤絳栫暐妯″紡錛圫trategy錛夊疄鐜板鍏抽敭瀛楁帓搴?/title><link>http://m.tkk7.com/fidodido/archive/2005/08/04/9181.html</link><dc:creator>^ Mustang ^</dc:creator><author>^ Mustang ^</author><pubDate>Thu, 04 Aug 2005 04:37:00 GMT</pubDate><guid>http://m.tkk7.com/fidodido/archive/2005/08/04/9181.html</guid><wfw:comment>http://m.tkk7.com/fidodido/comments/9181.html</wfw:comment><comments>http://m.tkk7.com/fidodido/archive/2005/08/04/9181.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.tkk7.com/fidodido/comments/commentRss/9181.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/fidodido/services/trackbacks/9181.html</trackback:ping><description><![CDATA[<P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0" align=center><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0">鈥滅瓥鐣ユā寮忊濈殑鍑虹幇錛屾槸涓轟簡鎻愪緵涓濂楃浉浜掍箣闂村彲鐏墊椿鏇挎崲鐨勭畻娉曪紝鍦ㄤ笉褰卞搷涓婂眰鎺ュ彛鐨勬儏鍐典笅錛岀敤鎴峰彲浠ヨ嚜鐢遍夋嫨涓嶅悓鐨勭畻娉曞畬鎴愰昏緫銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">絳栫暐妯″紡鐨?/SPAN><SPAN lang=EN-US><FONT face=Verdana>UML</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">紺烘剰鍥懼涓嬶細</SPAN><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face=Verdana>聽</P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0" align=center></FONT></o:p></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><IMG height=228 alt=r_image002.jpg src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/r_image002.jpg" width=521 border=0></SPAN>聽</P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; TEXT-ALIGN: center; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0" align=center><SPAN lang=EN-US><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鍏朵腑綆楁硶鐨勬ā鍨嬫帴鍙e湪鈥滄娊璞$瓥鐣モ濅腑瀹氫箟錛屽悇鍏瘋薄絳栫暐瀹炵幇涓嶅悓鐨勭瓥鐣ャ傗滄秷璐?/SPAN><SPAN lang=EN-US><FONT face=Verdana>API</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鈥濆氨鏄皟鐢ㄤ笉鍚岀畻娉曠殑綾伙紝鍦ㄥ叾鍐呴儴鏍規嵁涓嶅悓闇瑕侀夋嫨涓嶅悓鐨勭畻娉曘傛湁鏃墮渶瑕佸皢鍏瘋薄絳栫暐瀹炰緥鍖栧悗鍐嶄紶緇欏叾瀹冪被錛岃繖鏃跺彲浠ヤ嬌鐢?I style="mso-bidi-font-style: normal">鈥滅畝鍗曞伐鍘傗濓紙</I></SPAN><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US><FONT face=Verdana>Simple Factory</FONT></SPAN></I><I style="mso-bidi-font-style: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛?/SPAN></I><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鎴?I style="mso-bidi-font-style: normal">鈥滃伐鍘傛柟娉曗濓紙</I></SPAN><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US><FONT face=Verdana>Factory Method</FONT></SPAN></I><I style="mso-bidi-font-style: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛?/SPAN></I><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鐢熸垚鎵闇鐨勫叿璞$瓥鐣ャ備笅闈㈠氨浠ユ垜姝e湪鍋氱殑涓涓」鐩紝綆鍖栦竴涓嬪悗璇存槑涓涓嬬瓥鐣ユā寮忕殑浣跨敤銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">璇ラ」鐩槸涓涓皬鍨嬬殑鍟嗕笟緗戠珯錛岄昏緫灞傜敱</SPAN><SPAN lang=EN-US><FONT face=Verdana>Servlet</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">瀹炵幇銆傜敤鎴鋒湁涓涓渶姹傦紝闇瑕佷粠鏁版嵁搴撹皟鍑哄晢鍝佷俊鎭悗鑳藉瀵硅褰曟寜鍚嶇О錛?/SPAN><SPAN lang=EN-US><FONT face=Verdana>name</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛夈佽鏍鹼紙</SPAN><SPAN lang=EN-US><FONT face=Verdana>standard</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛夈佷環鏍鹼紙</SPAN><SPAN lang=EN-US><FONT face=Verdana>price</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛夊拰娉ㄥ唽鏃ユ湡錛?/SPAN><SPAN lang=EN-US><FONT face=Verdana>register date</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛夎繘琛屾帓搴忋傝櫧鐒跺彲浠ヨ冭檻鎸変笉鍚岀殑鎺掑簭鍏抽敭瀛椾嬌鐢ㄤ笉鍚岀殑</SPAN><SPAN lang=EN-US><FONT face=Verdana>sql</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">璇彞錛堝嵆涓嶅悓鐨?/SPAN><SPAN lang=EN-US><FONT face=Verdana>order by</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛夋煡璇㈡暟鎹簱銆備絾榪欐牱鍋氱殑緗戠粶鏁版嵁嫻侀噺澶ぇ錛屾瘡嬈¢渶瑕佷粠鏁版嵁搴撳畬鏁村湴鍙栧洖涓涓暟鎹泦錛?/SPAN><SPAN lang=EN-US><FONT face=Verdana>ResultSet</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛夛紝鎵浠ユ垜閫夋嫨浜嗗皢鏁版嵁闆嗕竴嬈″彇鍒板鎴風鐨勪竴涓?/SPAN><SPAN lang=EN-US><FONT face=Verdana>List</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">涓紝鐒跺悗鍦ㄥ鎴風鎸変笉鍚岀殑鍏抽敭瀛楀</SPAN><SPAN lang=EN-US><FONT face=Verdana>List</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">榪涜鎺掑簭銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><FONT face=Verdana>java.util.Collections</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾諱腑鏈変竴涓?/SPAN><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US><FONT face=Verdana>public static void sort(List list, Comparator comparator)</FONT></SPAN></I><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鐨勬柟娉曪紝鍙互鎸夌収涓嶅悓鐨?/SPAN><SPAN lang=EN-US><FONT face=Verdana>Comparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">瀵硅薄瀵?/SPAN><SPAN lang=EN-US><FONT face=Verdana>list</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">榪涜鎺掑簭錛屽畠浣跨敤鐨勬槸蹇熸帓搴忥紝鎵浠ユ晥鐜囬潪甯擱珮銆傝?/SPAN><SPAN lang=EN-US><FONT face=Verdana>java.util.Comparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏄竴涓帴鍙o細</SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face=Verdana></P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">package聽java.util;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_57_139_Open_Image onclick="this.style.display='none'; Codehighlighter1_57_139_Open_Text.style.display='none'; Codehighlighter1_57_139_Closed_Image.style.display='inline'; Codehighlighter1_57_139_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_57_139_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_57_139_Closed_Text.style.display='none'; Codehighlighter1_57_139_Open_Image.style.display='inline'; Codehighlighter1_57_139_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">abstract</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">interface</SPAN><SPAN style="COLOR: #000000">聽Comparator聽</SPAN><SPAN id=Codehighlighter1_57_139_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_57_139_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽boolean聽equals(Object聽</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">聽compare(Object聽</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000">,聽Object聽object1);<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"></FONT></SPAN></I><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鍏朵腑鍜屾帓搴忔湁鍏崇殑鏄?/SPAN><SPAN lang=EN-US><FONT face=Verdana>compare</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏂規硶錛屽畠榪斿洖涓涓暣鏁幫紝鑻ョ涓涓弬鏁版瘮絎簩涓弬鏁扳滃ぇ鈥濓紝鍒欒繑鍥炰竴涓鏁幫紝鑻モ滃皬鈥濆垯榪斿洖涓涓礋鏁幫紝鑻モ滅浉絳夆濆垯榪斿洖</SPAN><SPAN lang=EN-US><FONT face=Verdana>0</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛岃繖閲岀殑鈥滃ぇ鈥濄佲滃皬鈥濄佲滅浉絳夆濇槸鐢?/SPAN><SPAN lang=EN-US><FONT face=Verdana>compare</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏂規硶鍏蜂綋瀹炵幇瀹氫箟鐨勪竴縐嶆瘮杈冩爣鍑嗐傜敱榪欎釜鏂規硶涓嶇鎯沖埌</SPAN><SPAN lang=EN-US><FONT face=Verdana>C</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">璇█涓?/SPAN><SPAN lang=EN-US><FONT face=Verdana>qsort</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鍑芥暟涓嬌鐢ㄧ殑鍑芥暟鎸囬拡</SPAN><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US><FONT face=Verdana>int *compare(*,*)</FONT></SPAN></I><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛?/SPAN><SPAN lang=EN-US><FONT face=Verdana>JAVA</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">涓箣鎵浠ユ病鏈夊嚱鏁版寚閽堬紝灝辨槸鐢ㄦ帴鍙e彇浠d簡錛堟洿璇︾粏鐨勪粙緇嶈銆?/SPAN><SPAN lang=EN-US><FONT face=Verdana>Effective Java</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">銆嬩腑絎?/SPAN><SPAN lang=EN-US><FONT face=Verdana>22</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏉♀滅敤綾誨拰鎺ュ彛鏉ヤ唬鏇垮嚱鏁版寚閽堚濓級銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">寰堟槑鏄撅紝</SPAN><SPAN lang=EN-US><FONT face=Verdana>Comparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鎺ュ彛灝辨槸鎴戜滑鐨勨滄娊璞$瓥鐣モ濓紝</SPAN><SPAN lang=EN-US><FONT face=Verdana>sort</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏂規硶灝辨槸鎴戜滑鐨勨滄秷璐?/SPAN><SPAN lang=EN-US><FONT face=Verdana>API</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鈥濓紝鑰屼笉鍚岀殑鈥滃叿璞$瓥鐣モ濆氨鏄垜浠粠</SPAN><SPAN lang=EN-US><FONT face=Verdana>Comparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鎺ュ彛瀹炵幇鐨勬牴鎹笉鍚屽叧閿瓧鎺掑簭鐨勭被銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏁翠釜鎺掑簭妯″瀷鐨?/SPAN><SPAN lang=EN-US><FONT face=Verdana>UML</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鍥懼涓嬶紝鍏朵腑涓轟簡浣滃浘鏂逛究錛屾垜浠?/SPAN><SPAN lang=EN-US><FONT face=Verdana>Comparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">緇ф壙浜嗕竴涓帴鍙?/SPAN><SPAN lang=EN-US><FONT face=Verdana>ItemComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛屾牴鎹笉鍚岀殑鍏抽敭瀛椾粠</SPAN><SPAN lang=EN-US><FONT face=Verdana>ItemComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鎺ュ彛娉涘寲浜?/SPAN><SPAN lang=EN-US><FONT face=Verdana>NameComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾伙紝</SPAN><SPAN lang=EN-US><FONT face=Verdana>PriceComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾伙紝</SPAN><SPAN lang=EN-US><FONT face=Verdana>RegisterDateComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾誨拰</SPAN><SPAN lang=EN-US><FONT face=Verdana>StandardComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾匯傚疄闄呰繍鐢ㄤ腑涓嶉渶瑕佽繖涓帴鍙o紝鍥涗釜綾誨彲浠ョ洿鎺ヤ粠</SPAN><SPAN lang=EN-US><FONT face=Verdana>Comparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">娉涘寲銆?/SPAN><SPAN lang=EN-US><FONT face=Verdana>ItemBean</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏄竴涓皝瑁呬簡鍟嗗搧淇℃伅鐨?/SPAN><SPAN lang=EN-US><FONT face=Verdana>bean</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">錛?/SPAN><SPAN lang=EN-US><FONT face=Verdana>List</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">涓瓨鏀劇殑灝辨槸榪欎簺</SPAN><SPAN lang=EN-US><FONT face=Verdana>bean</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">銆?/SPAN><SPAN lang=EN-US><FONT face=Verdana>ItemSort</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鍜?/SPAN><SPAN lang=EN-US><FONT face=Verdana>ItemComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">浠ュ強鍥涗釜鍏蜂綋綾誨疄鐜頒簡鈥滅畝鍗曞伐鍘傗濇ā寮忥紝騫跺皝瑁呬簡</SPAN><SPAN lang=EN-US><FONT face=Verdana>sort</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">鏂規硶銆?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0" align=center><SPAN lang=EN-US><o:p><FONT face=Verdana>聽<IMG height=663 alt=o_strategy.dfPackage.jpg src="http://m.tkk7.com/images/blogjava_net/fidodido/2507/o_strategy.dfPackage.jpg" width=590 border=0></FONT></o:p></SPAN><SPAN lang=EN-US><o:p><FONT face=Verdana>聽<BR></P></FONT></o:p></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><BR>聽聽聽 涓嬮潰鏄叿浣撶殑浠g爜錛?/SPAN><SPAN lang=EN-US><FONT face=Verdana>StandardComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾葷殑浠g爜涓?/SPAN><SPAN lang=EN-US><FONT face=Verdana>NameComparator</FONT></SPAN><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾葷殑浠g爜澶у悓灝忓紓錛屽湪榪欓噷涓嶅垪鍑猴級錛?/SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21.1pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><FONT face=Verdana>NameComparator</FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾伙細</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face=Verdana></P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">package聽com.lim.designpatterns.strategy;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_95_352_Open_Image onclick="this.style.display='none'; Codehighlighter1_95_352_Open_Text.style.display='none'; Codehighlighter1_95_352_Closed_Image.style.display='inline'; Codehighlighter1_95_352_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_95_352_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_95_352_Closed_Text.style.display='none'; Codehighlighter1_95_352_Open_Image.style.display='inline'; Codehighlighter1_95_352_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000">聽NameComparator聽implements聽ItemComparator</SPAN><SPAN id=Codehighlighter1_95_352_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_95_352_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_115_116_Open_Image onclick="this.style.display='none'; Codehighlighter1_115_116_Open_Text.style.display='none'; Codehighlighter1_115_116_Closed_Image.style.display='inline'; Codehighlighter1_115_116_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_115_116_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_115_116_Closed_Text.style.display='none'; Codehighlighter1_115_116_Open_Image.style.display='inline'; Codehighlighter1_115_116_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽NameComparator()</SPAN><SPAN id=Codehighlighter1_115_116_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_115_116_Open_Text><SPAN style="COLOR: #000000">{}</SPAN></SPAN><SPAN style="COLOR: #000000">聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽灝嗘瀯閫犲櫒灝佽錛屽寘澶栫殑綾繪寰楀埌Comparator瀹炰緥鍙兘閫氳繃綆鍗曞伐鍘?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_199_350_Open_Image onclick="this.style.display='none'; Codehighlighter1_199_350_Open_Text.style.display='none'; Codehighlighter1_199_350_Closed_Image.style.display='inline'; Codehighlighter1_199_350_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_199_350_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_199_350_Closed_Text.style.display='none'; Codehighlighter1_199_350_Open_Image.style.display='inline'; Codehighlighter1_199_350_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">聽compare(Object聽o1,Object聽o2)</SPAN><SPAN id=Codehighlighter1_199_350_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_199_350_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽String聽name1</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">((ItemBean)o1).getName();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽String聽name2</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">((ItemBean)o2).getName();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">聽name1.compareTo(name2);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽璋冪敤String鐨凜ompareTo鏂規硶</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">聽聽}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"></FONT></SPAN></I></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21.1pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><FONT face=Verdana>PriceComparator</FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾?/SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face=Verdana></P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">package聽com.lim.designpatterns.strategy;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_96_345_Open_Image onclick="this.style.display='none'; Codehighlighter1_96_345_Open_Text.style.display='none'; Codehighlighter1_96_345_Closed_Image.style.display='inline'; Codehighlighter1_96_345_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_96_345_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_96_345_Closed_Text.style.display='none'; Codehighlighter1_96_345_Open_Image.style.display='inline'; Codehighlighter1_96_345_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000">聽PriceComparator聽implements聽ItemComparator</SPAN><SPAN id=Codehighlighter1_96_345_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_96_345_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_117_118_Open_Image onclick="this.style.display='none'; Codehighlighter1_117_118_Open_Text.style.display='none'; Codehighlighter1_117_118_Closed_Image.style.display='inline'; Codehighlighter1_117_118_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_117_118_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_117_118_Closed_Text.style.display='none'; Codehighlighter1_117_118_Open_Image.style.display='inline'; Codehighlighter1_117_118_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽PriceComparator()</SPAN><SPAN id=Codehighlighter1_117_118_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_117_118_Open_Text><SPAN style="COLOR: #000000">{}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_162_343_Open_Image onclick="this.style.display='none'; Codehighlighter1_162_343_Open_Text.style.display='none'; Codehighlighter1_162_343_Closed_Image.style.display='inline'; Codehighlighter1_162_343_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_162_343_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_162_343_Closed_Text.style.display='none'; Codehighlighter1_162_343_Open_Image.style.display='inline'; Codehighlighter1_162_343_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">聽compare(Object聽o1,Object聽o2)</SPAN><SPAN id=Codehighlighter1_162_343_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_162_343_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽Double聽price1</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽Double(((ItemBean)o1).getPrice());<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽Double聽price2</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽Double(((ItemBean)o2).getPrice());<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">聽price1.compareTo(price2);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽璋冪敤Double鐨凜ompareTo鏂規硶</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">聽聽}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV></DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"></FONT></SPAN></I><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21.1pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><FONT face=Verdana>RegisterDateComparator</FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾?/SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face=Verdana></P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">package聽com.lim.designpatterns.strategy;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>import聽java.util.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_124_360_Open_Image onclick="this.style.display='none'; Codehighlighter1_124_360_Open_Text.style.display='none'; Codehighlighter1_124_360_Closed_Image.style.display='inline'; Codehighlighter1_124_360_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_124_360_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_124_360_Closed_Text.style.display='none'; Codehighlighter1_124_360_Open_Image.style.display='inline'; Codehighlighter1_124_360_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000">聽RegisterDateComparator聽implements聽ItemComparator</SPAN><SPAN id=Codehighlighter1_124_360_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_124_360_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_152_153_Open_Image onclick="this.style.display='none'; Codehighlighter1_152_153_Open_Text.style.display='none'; Codehighlighter1_152_153_Closed_Image.style.display='inline'; Codehighlighter1_152_153_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_152_153_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_152_153_Closed_Text.style.display='none'; Codehighlighter1_152_153_Open_Image.style.display='inline'; Codehighlighter1_152_153_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽RegisterDateComparator()</SPAN><SPAN id=Codehighlighter1_152_153_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_152_153_Open_Text><SPAN style="COLOR: #000000">{}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_197_358_Open_Image onclick="this.style.display='none'; Codehighlighter1_197_358_Open_Text.style.display='none'; Codehighlighter1_197_358_Closed_Image.style.display='inline'; Codehighlighter1_197_358_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_197_358_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_197_358_Closed_Text.style.display='none'; Codehighlighter1_197_358_Open_Image.style.display='inline'; Codehighlighter1_197_358_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">聽compare(Object聽o1,Object聽o2)</SPAN><SPAN id=Codehighlighter1_197_358_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_197_358_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽Date聽date1</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">((ItemBean)o1).getRegisterDate();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽Date聽date2</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">((ItemBean)o2).getRegisterDate();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">聽date1.compareTo(date2);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽璋冪敤Date鐨凜ompareTo鏂規硶</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">聽聽}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV></DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"></FONT></SPAN></I><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21.1pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><FONT face=Verdana>ItemSort</FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾?/SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face=Verdana></P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">package聽com.lim.designpatterns.strategy;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>import聽java.util.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_84_486_Open_Image onclick="this.style.display='none'; Codehighlighter1_84_486_Open_Text.style.display='none'; Codehighlighter1_84_486_Closed_Image.style.display='inline'; Codehighlighter1_84_486_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_84_486_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_84_486_Closed_Text.style.display='none'; Codehighlighter1_84_486_Open_Image.style.display='inline'; Codehighlighter1_84_486_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000">聽ItemSort</SPAN><SPAN id=Codehighlighter1_84_486_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_84_486_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_140_193_Open_Image onclick="this.style.display='none'; Codehighlighter1_140_193_Open_Text.style.display='none'; Codehighlighter1_140_193_Closed_Image.style.display='inline'; Codehighlighter1_140_193_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_140_193_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_140_193_Closed_Text.style.display='none'; Codehighlighter1_140_193_Open_Image.style.display='inline'; Codehighlighter1_140_193_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">聽List聽sort(List聽items,ItemComparator聽c)</SPAN><SPAN id=Codehighlighter1_140_193_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_140_193_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽Collections.sort(items,c);<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">聽items;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>聽聽}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">聽final聽ItemComparator聽NAME</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽NameComparator();聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽綆鍗曞伐鍘?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">聽final聽ItemComparator聽PRICE</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽PriceComparator();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">聽final聽ItemComparator聽STANDARD</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽StandardComparator();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">聽final聽ItemComparator聽REG_DATE</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽RegisterDateComparator();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV></DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"></FONT></SPAN></I><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21.1pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><FONT face=Verdana>TestItemSort</FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 瀹嬩綋; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana">綾?/SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></B></P> <P class=MsoNormal style="MARGIN: 7.8pt 0cm 0pt; TEXT-INDENT: 21pt; mso-para-margin-top: .5gd; mso-char-indent-count: 2.0"><SPAN lang=EN-US><o:p><FONT face=Verdana>聽</FONT></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 18pt; mso-char-indent-count: 2.0"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US style="FONT-SIZE: 9pt"><FONT face=Verdana></P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">package聽com.lim.designpatterns.strategy;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>import聽java.util.</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_88_424_Open_Image onclick="this.style.display='none'; Codehighlighter1_88_424_Open_Text.style.display='none'; Codehighlighter1_88_424_Closed_Image.style.display='inline'; Codehighlighter1_88_424_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_88_424_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_88_424_Closed_Text.style.display='none'; Codehighlighter1_88_424_Open_Image.style.display='inline'; Codehighlighter1_88_424_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000">聽TestItemSort</SPAN><SPAN id=Codehighlighter1_88_424_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_88_424_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_130_422_Open_Image onclick="this.style.display='none'; Codehighlighter1_130_422_Open_Text.style.display='none'; Codehighlighter1_130_422_Closed_Image.style.display='inline'; Codehighlighter1_130_422_Closed_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_130_422_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_130_422_Closed_Text.style.display='none'; Codehighlighter1_130_422_Open_Image.style.display='inline'; Codehighlighter1_130_422_Open_Text.style.display='inline';" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>聽聽</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000">聽</SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000">聽main(String[]聽args)</SPAN><SPAN id=Codehighlighter1_130_422_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://m.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_130_422_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽List聽items</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">聽ArrayList();<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽鍚慙ist娣誨姞鏉$洰</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽items</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">ItemSort.sort(items,ItemSort.NAME);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽鎸夊悕縐版帓搴?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽items</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">ItemSort.sort(items,ItemSort.PRICE);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽鎸変環鏍兼帓搴?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽items</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">ItemSort.sort(items,ItemSort.REG_DATE);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽鎸夋敞鍐屾棩鏈熸帓搴?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>聽聽聽聽items</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">ItemSort.sort(items,ItemSort.STANDARD);聽聽</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">聽鎸夎鏍兼帓搴?/SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">聽聽}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV></DIV></FONT></SPAN></I><img src ="http://m.tkk7.com/fidodido/aggbug/9181.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/fidodido/" target="_blank">^ Mustang ^</a> 2005-08-04 12:37 <a href="http://m.tkk7.com/fidodido/archive/2005/08/04/9181.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://syeyo.com" target="_blank">亚洲福利电影一区二区?</a>| <a href="http://www988555.com" target="_blank">亚洲综合成人婷婷五月网址</a>| <a href="http://qnyjny.com" target="_blank">777爽死你无码免费看一二区</a>| <a href="http://0330196.com" target="_blank">亚洲国色天香视频</a>| <a href="http://badabg.com" target="_blank">国产免费av片在线无码免费看</a>| <a href="http://xxxxyz.com" target="_blank">十八禁视频在线观看免费无码无遮挡骂过 </a>| <a href="http://hnqkzj.com" target="_blank">亚洲精品高清国产一久久</a>| <a href="http://0551dfcy.com" target="_blank">拨牐拨牐x8免费</a>| <a href="http://kingrel.com" target="_blank">一级毛片视频免费</a>| <a href="http://clever-ad.com" target="_blank">亚洲精品国产福利片</a>| <a href="http://bx85.com" target="_blank">mm1313亚洲国产精品美女</a>| <a href="http://fsszx888.com" target="_blank">99re在线精品视频免费</a>| <a href="http://jx-dirui.com" target="_blank">亚洲国产aⅴ成人精品无吗</a>| <a href="http://kfdingrui.com" target="_blank">亚洲国产精品无码专区在线观看</a>| <a href="http://dgyxcsb.com" target="_blank">久久天天躁狠狠躁夜夜免费观看</a>| <a href="http://meixiudashi.com" target="_blank">人妻免费久久久久久久了</a>| <a href="http://carsmp.com" target="_blank">亚洲国产精品成人综合久久久</a>| <a href="http://fuhui123.com" target="_blank">亚洲精品无码专区2</a>| <a href="http://tsxyhq.com" target="_blank">久久久高清免费视频</a>| <a href="http://eeussdd.com" target="_blank">AAA日本高清在线播放免费观看</a>| <a href="http://fl6fe.com" target="_blank">2019亚洲午夜无码天堂</a>| <a href="http://df8848.com" target="_blank">亚洲国产精品一区第二页</a>| <a href="http://8xk7u9.com" target="_blank">国产美女精品久久久久久久免费</a>| <a href="http://c9133.com" target="_blank">一级毛片在线免费看</a>| <a href="http://baocaoluoli.com" target="_blank">美女黄频a美女大全免费皮</a>| <a href="http://by7258.com" target="_blank">激情内射亚洲一区二区三区爱妻</a>| <a href="http://eigakyuka.com" target="_blank">亚洲尤码不卡AV麻豆</a>| <a href="http://yuntuzy.com" target="_blank">热99re久久精品精品免费</a>| <a href="http://zf91.com" target="_blank">91免费在线播放</a>| <a href="http://zygwkqf.com" target="_blank">在线观看肉片AV网站免费</a>| <a href="http://pufenghotel.com" target="_blank">亚洲va中文字幕</a>| <a href="http://yule4.com" target="_blank">亚洲精品人成网在线播放影院</a>| <a href="http://616kb.com" target="_blank">亚洲av日韩av不卡在线观看 </a>| <a href="http://sijep.com" target="_blank">亚洲精品456人成在线</a>| <a href="http://gachi1151.com" target="_blank">亚洲国语精品自产拍在线观看 </a>| <a href="http://haichuanwangluo.com" target="_blank">亚洲av中文无码乱人伦在线播放</a>| <a href="http://vip98888.com" target="_blank">国产免费人成在线视频</a>| <a href="http://wenbye.com" target="_blank">午夜成人免费视频</a>| <a href="http://junyehome.com" target="_blank">美女网站免费福利视频</a>| <a href="http://ksyy888.com" target="_blank">人妻无码一区二区三区免费</a>| <a href="http://97chaopeng2.com" target="_blank">三级黄色在线免费观看</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>