锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日本一区二区在线,天堂在线一二区,亚洲免费视频成人http://www.aygfsteel.com/windonly/category/26069.html鐭ヨ瘑鐪熺殑鏄竴涓渾涔?zh-cnTue, 02 Oct 2007 03:20:26 GMTTue, 02 Oct 2007 03:20:26 GMT60Java LazyLoad鐨凷ingleton鍐欐硶http://www.aygfsteel.com/windonly/archive/2007/09/28/149117.htmlAnemoneAnemoneFri, 28 Sep 2007 07:12:00 GMThttp://www.aygfsteel.com/windonly/archive/2007/09/28/149117.htmlhttp://www.aygfsteel.com/windonly/comments/149117.htmlhttp://www.aygfsteel.com/windonly/archive/2007/09/28/149117.html#Feedback0http://www.aygfsteel.com/windonly/comments/commentRss/149117.htmlhttp://www.aygfsteel.com/windonly/services/trackbacks/149117.html榪欐槸涓涓崟渚嬬殑寤舵椂鍔犺澆瀹炵幇:

public class Singleton {   
  
  
static class SingletonHolder {   
    
static Singleton instance = new Singleton();   
  }   
  
  
public static Singleton getInstance() {   
    
return SingletonHolder.instance;   
  }   
  
}  


Anemone 2007-09-28 15:12 鍙戣〃璇勮
]]>
瀵嗙爜MD5淇℃伅鎽樿鐨勪竴鐐瑰緩璁?/title><link>http://www.aygfsteel.com/windonly/archive/2007/09/22/147314.html</link><dc:creator>Anemone</dc:creator><author>Anemone</author><pubDate>Sat, 22 Sep 2007 01:59:00 GMT</pubDate><guid>http://www.aygfsteel.com/windonly/archive/2007/09/22/147314.html</guid><wfw:comment>http://www.aygfsteel.com/windonly/comments/147314.html</wfw:comment><comments>http://www.aygfsteel.com/windonly/archive/2007/09/22/147314.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.aygfsteel.com/windonly/comments/commentRss/147314.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/windonly/services/trackbacks/147314.html</trackback:ping><description><![CDATA[涓鑸璁$殑緋葷粺鐢ㄦ埛鐨勫瘑鐮侀兘鏄噰鐢∕D5鎽樿淇℃伅淇濆瓨鍒版暟鎹簱,浣嗘槸鐜板湪緗戠粶鏈夊緢澶歁D5搴?濡傛灉浣犱笉鍋氫換浣曞鐞嗗氨鐩存帴浣跨敤MD5鏍囧噯綆楁硶鎻愬彇鎽樿,鏈鍚庡緢鏈夊彲鑳藉鑷寸敤鎴風殑瀵嗙爜涓嶅垢宸茬粡瀛樺湪鍦ㄧ幇鏈塎D5搴撲腑.鎵浠ヤ竴鑸嬌鐢ㄤ互涓嬬瓥鐣ユ潵閬垮厤榪欑鎯呭喌:<span style="color: #0000ff">浣跨敤涓涓查殢鏈哄瓧絎︿覆鍜屾槑鏂囩粍鍚堟垚鏂板瘑鐮?鐒跺悗鎻愬彇榪欎釜鏂扮殑瀵嗙爜鐨凪D5鎽樿浣滀負鎽樿淇濆瓨鍦ㄦ暟鎹簱</span>.<br /> 渚嬬爜:<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080"> 1</span><img id="Codehighlighter1_0_29_Open_Image" onclick="this.style.display='none'; Codehighlighter1_0_29_Open_Text.style.display='none'; Codehighlighter1_0_29_Closed_Image.style.display='inline'; Codehighlighter1_0_29_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_0_29_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_0_29_Closed_Text.style.display='none'; Codehighlighter1_0_29_Open_Image.style.display='inline'; Codehighlighter1_0_29_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span id="Codehighlighter1_0_29_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">/**/</span><span id="Codehighlighter1_0_29_Open_Text"><span style="color: #008000">/*</span><span style="color: #008000"><br /> </span><span style="color: #008080"> 2</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> * Created on 2007-9-22<br /> </span><span style="color: #008080"> 3</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" /> </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> </span><span style="color: #008080"> 4</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">package</span><span style="color: #000000"> org.dueam.common.util;<br /> </span><span style="color: #008080"> 5</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> </span><span style="color: #008080"> 6</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> org.apache.commons.codec.digest.DigestUtils;<br /> </span><span style="color: #008080"> 7</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> </span><span style="color: #008080"> 8</span><span style="color: #000000"><img id="Codehighlighter1_116_200_Open_Image" onclick="this.style.display='none'; Codehighlighter1_116_200_Open_Text.style.display='none'; Codehighlighter1_116_200_Closed_Image.style.display='inline'; Codehighlighter1_116_200_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_116_200_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_116_200_Closed_Text.style.display='none'; Codehighlighter1_116_200_Open_Image.style.display='inline'; Codehighlighter1_116_200_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_116_200_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">/** */</span><span id="Codehighlighter1_116_200_Open_Text"><span style="color: #008000">/**</span><span style="color: #008000"><br /> </span><span style="color: #008080"> 9</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> * </span><span style="color: #808080">@author</span><span style="color: #008000"> <a href="windonly@gmail.com">Anemone</a><br /> </span><span style="color: #008080">10</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> * hz,zj,china(2007-9-22)<br /> </span><span style="color: #008080">11</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" /> </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">12</span><span style="color: #000000"><img id="Codehighlighter1_233_517_Open_Image" onclick="this.style.display='none'; Codehighlighter1_233_517_Open_Text.style.display='none'; Codehighlighter1_233_517_Closed_Image.style.display='inline'; Codehighlighter1_233_517_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_233_517_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_233_517_Closed_Text.style.display='none'; Codehighlighter1_233_517_Open_Image.style.display='inline'; Codehighlighter1_233_517_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.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">class</span><span style="color: #000000"> MD5Utils </span><span id="Codehighlighter1_233_517_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 alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_233_517_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">13</span><span style="color: #000000"><img id="Codehighlighter1_236_272_Open_Image" onclick="this.style.display='none'; Codehighlighter1_236_272_Open_Text.style.display='none'; Codehighlighter1_236_272_Closed_Image.style.display='inline'; Codehighlighter1_236_272_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_236_272_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_236_272_Closed_Text.style.display='none'; Codehighlighter1_236_272_Open_Image.style.display='inline'; Codehighlighter1_236_272_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span id="Codehighlighter1_236_272_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">/** */</span><span id="Codehighlighter1_236_272_Open_Text"><span style="color: #008000">/**</span><span style="color: #008000"><br /> </span><span style="color: #008080">14</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />     * 鍦ㄦ槑鏂囦箣鍓嶅鍔犻殢鏈哄瓧絎︿覆,鏉ヤ駭鐢熺壒孌奙D5鐨勬憳瑕?br /> </span><span style="color: #008080">15</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />     </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">16</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">final</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> String MD5_RANDOM </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">FC2F056F1D8E4D59BD95AE15EED9C9C0</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> </span><span style="color: #008080">17</span><span style="color: #000000"><img id="Codehighlighter1_353_414_Open_Image" onclick="this.style.display='none'; Codehighlighter1_353_414_Open_Text.style.display='none'; Codehighlighter1_353_414_Closed_Image.style.display='inline'; Codehighlighter1_353_414_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_353_414_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_353_414_Closed_Text.style.display='none'; Codehighlighter1_353_414_Open_Image.style.display='inline'; Codehighlighter1_353_414_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span id="Codehighlighter1_353_414_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">/** */</span><span id="Codehighlighter1_353_414_Open_Text"><span style="color: #008000">/**</span><span style="color: #008000"><br /> </span><span style="color: #008080">18</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />     * 鎻愬彇瀵嗙爜鎽樿<br /> </span><span style="color: #008080">19</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />     * </span><span style="color: #808080">@param</span><span style="color: #008000"> password 瀵嗙爜鏄庢枃<br /> </span><span style="color: #008080">20</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />     * </span><span style="color: #808080">@return</span><span style="color: #008000"> MD5鎽樿<br /> </span><span style="color: #008080">21</span><span style="color: #008000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />     </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">22</span><span style="color: #000000"><img id="Codehighlighter1_461_514_Open_Image" onclick="this.style.display='none'; Codehighlighter1_461_514_Open_Text.style.display='none'; Codehighlighter1_461_514_Closed_Image.style.display='inline'; Codehighlighter1_461_514_Closed_Text.style.display='inline';" alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_461_514_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_461_514_Closed_Text.style.display='none'; Codehighlighter1_461_514_Open_Image.style.display='inline'; Codehighlighter1_461_514_Open_Text.style.display='inline';" alt="" src="http://www.aygfsteel.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"> String encode(String password)</span><span id="Codehighlighter1_461_514_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 alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_461_514_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008080">23</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #0000ff">return</span><span style="color: #000000"> DigestUtils.md5Hex(MD5_RANDOM</span><span style="color: #000000">+</span><span style="color: #000000">password);<br /> </span><span style="color: #008080">24</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">25</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> </span><span style="color: #008080">26</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span><span style="color: #000000"><br /> </span><span style="color: #008080">27</span><span style="color: #000000"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span></div> 鍏朵腑鐢ㄥ埌apache鐨?a title="codec" target="_blank">codec</a>鍖? <img src ="http://www.aygfsteel.com/windonly/aggbug/147314.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/windonly/" target="_blank">Anemone</a> 2007-09-22 09:59 <a href="http://www.aygfsteel.com/windonly/archive/2007/09/22/147314.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">衢州市</a>| <a href="http://" target="_blank">安塞县</a>| <a href="http://" target="_blank">康乐县</a>| <a href="http://" target="_blank">五莲县</a>| <a href="http://" target="_blank">福建省</a>| <a href="http://" target="_blank">临猗县</a>| <a href="http://" target="_blank">常宁市</a>| <a href="http://" target="_blank">阿拉尔市</a>| <a href="http://" target="_blank">新泰市</a>| <a href="http://" target="_blank">赤壁市</a>| <a href="http://" target="_blank">樟树市</a>| <a href="http://" target="_blank">五河县</a>| <a href="http://" target="_blank">松江区</a>| <a href="http://" target="_blank">中阳县</a>| <a href="http://" target="_blank">河间市</a>| <a href="http://" target="_blank">马公市</a>| <a href="http://" target="_blank">罗平县</a>| <a href="http://" target="_blank">洛扎县</a>| <a href="http://" target="_blank">井冈山市</a>| <a href="http://" target="_blank">文安县</a>| <a href="http://" target="_blank">刚察县</a>| <a href="http://" target="_blank">临武县</a>| <a href="http://" target="_blank">秀山</a>| <a href="http://" target="_blank">莱阳市</a>| <a href="http://" target="_blank">东城区</a>| <a href="http://" target="_blank">沂水县</a>| <a href="http://" target="_blank">油尖旺区</a>| <a href="http://" target="_blank">禹州市</a>| <a href="http://" target="_blank">策勒县</a>| <a href="http://" target="_blank">宾阳县</a>| <a href="http://" target="_blank">杂多县</a>| <a href="http://" target="_blank">绥化市</a>| <a href="http://" target="_blank">永春县</a>| <a href="http://" target="_blank">从化市</a>| <a href="http://" target="_blank">巫山县</a>| <a href="http://" target="_blank">什邡市</a>| <a href="http://" target="_blank">梅州市</a>| <a href="http://" target="_blank">临澧县</a>| <a href="http://" target="_blank">武鸣县</a>| <a href="http://" target="_blank">永善县</a>| <a href="http://" 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>