﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-面朝大海,春暖花开-随笔分类-J2SE</title><link>http://www.blogjava.net/sodmewuhan/category/9561.html</link><description /><language>zh-cn</language><lastBuildDate>Fri, 02 Mar 2007 03:37:05 GMT</lastBuildDate><pubDate>Fri, 02 Mar 2007 03:37:05 GMT</pubDate><ttl>60</ttl><item><title>一本好书关于JAVA5.0和TDD的</title><link>http://www.blogjava.net/sodmewuhan/archive/2006/05/12/45900.html</link><dc:creator>面朝大海</dc:creator><author>面朝大海</author><pubDate>Fri, 12 May 2006 11:17:00 GMT</pubDate><guid>http://www.blogjava.net/sodmewuhan/archive/2006/05/12/45900.html</guid><wfw:comment>http://www.blogjava.net/sodmewuhan/comments/45900.html</wfw:comment><comments>http://www.blogjava.net/sodmewuhan/archive/2006/05/12/45900.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/sodmewuhan/comments/commentRss/45900.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sodmewuhan/services/trackbacks/45900.html</trackback:ping><description><![CDATA[今天在网上闲逛，发现了一本好书，关于JAVA和TDD的，内容介绍如下：<br /><p class="docText"><span class="docEmphStrong">Master Java 5.0 and TDD Together: Build More Robust, Professional Software</span></p><p class="docText">Master Java 5.0, object-oriented design, and Test-Driven Development (TDD) by learning them together. Agile Java weaves all three into a single coherent approach to building professional, robust software systems. Jeff Langr shows exactly how Java and TDD integrate throughout the entire development lifecycle, helping you leverage today's fastest, most efficient development techniques from the very outset.</p><p class="docText">Langr writes for every programmer, even those with little or no experience with Java, object-oriented development, or agile methods. He shows how to translate oral requirements into practical tests, and then how to use those tests to create reliable, high-performance Java code that solves real problems. Agile Java doesn't just teach the core features of the Java language: it presents coded test examples for each of them. This TDD-centered approach doesn't just lead to better code: it provides powerful feedback that will help you learn Java far more rapidly. The use of TDD as a learning mechanism is a landmark departure from conventional teaching techniques.</p><ul><li><p class="docList">Presents an expert overview of TDD and agile programming techniques from the Java developer's perspective</p></li><li><p class="docList">Brings together practical best practices for Java, TDD, and OO design</p></li><li><p class="docList">Walks through setting up Java 5.0 and writing your first program</p></li><li><p class="docList">Covers all the basics, including strings, packages, and more</p></li><li><p class="docList">Simplifies object-oriented concepts, including classes, interfaces, polymorphism, and inheritance</p></li><li><p class="docList">Contains detailed chapters on exceptions and logging, math, I/O, reflection, multithreading, and Swing</p></li><li><p class="docList">Offers seamlessly-integrated explanations of Java 5.0's key innovations, from generics to annotations</p></li><li><p class="docList">Shows how TDD impacts system design, and vice versa</p></li><li><p class="docList">Complements any agile or traditional methodology, including Extreme Programming (XP)</p></li></ul><p class="docList"><br />E文不算太难，一般都应该可以看懂，为什么好书都是老外写的呢？<img height="20" src="http://www.blogjava.net/Emoticons/hitwall.gif" width="25" border="0" /><br />我想把书传上来，但是.Text对文件的大小好象是有限制，书的名字叫<br /><strong>Agile Java Crafting Code with Test-Driven Development，想要的同学可以留下EMAIL</strong></p><img src ="http://www.blogjava.net/sodmewuhan/aggbug/45900.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sodmewuhan/" target="_blank">面朝大海</a> 2006-05-12 19:17 <a href="http://www.blogjava.net/sodmewuhan/archive/2006/05/12/45900.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVA程序员必须看的书The Java Language Specification</title><link>http://www.blogjava.net/sodmewuhan/archive/2006/04/12/40731.html</link><dc:creator>面朝大海</dc:creator><author>面朝大海</author><pubDate>Wed, 12 Apr 2006 13:07:00 GMT</pubDate><guid>http://www.blogjava.net/sodmewuhan/archive/2006/04/12/40731.html</guid><wfw:comment>http://www.blogjava.net/sodmewuhan/comments/40731.html</wfw:comment><comments>http://www.blogjava.net/sodmewuhan/archive/2006/04/12/40731.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sodmewuhan/comments/commentRss/40731.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sodmewuhan/services/trackbacks/40731.html</trackback:ping><description><![CDATA[在JAVA的老巢找到的这本书，不用多说了，这本书就是JAVA权威了，SUN提供了PDF下载和在线浏览：<a href="http://java.sun.com/docs/books/jls/">http://java.sun.com/docs/books/jls/</a><img src ="http://www.blogjava.net/sodmewuhan/aggbug/40731.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sodmewuhan/" target="_blank">面朝大海</a> 2006-04-12 21:07 <a href="http://www.blogjava.net/sodmewuhan/archive/2006/04/12/40731.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVA的初始化和清理</title><link>http://www.blogjava.net/sodmewuhan/archive/2006/04/09/40103.html</link><dc:creator>面朝大海</dc:creator><author>面朝大海</author><pubDate>Sun, 09 Apr 2006 08:17:00 GMT</pubDate><guid>http://www.blogjava.net/sodmewuhan/archive/2006/04/09/40103.html</guid><wfw:comment>http://www.blogjava.net/sodmewuhan/comments/40103.html</wfw:comment><comments>http://www.blogjava.net/sodmewuhan/archive/2006/04/09/40103.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sodmewuhan/comments/commentRss/40103.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sodmewuhan/services/trackbacks/40103.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">本文是《</span>
				<span lang="EN-US">JAVA</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编程思想》第四章的读书笔记</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">
						<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?>
						<o:p> </o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt">
				<span lang="EN-US" style="mso-bidi-font-family: 宋体">
						<span style="mso-list: Ignore">一、</span>
				</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用构造函数初始化</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -36pt; mso-list: l1 level2 lfo2; tab-stops: list 36.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">1．1、<span style="FONT: 7pt 'Times New Roman'">   </span></span>
				</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数的签名和返回值</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">构造函数可以通过不同的函数签名来进行重载。构造函数没有返回值，这和返回值为</span>
				<span lang="EN-US">void</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的是不同的</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -36pt; mso-list: l1 level2 lfo2; tab-stops: list 36.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">1．2、<span style="FONT: 7pt 'Times New Roman'">   </span></span>
				</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">构造函数的重载</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如何区分构造函数的不同呢，用不同的函数签名。函数签名的顺序不同都可以，但是这样的编程风格是不好的。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数的签名会上升转型（当没有合适的函数签名出现的时候），但是不会窄化转型，你必须要显示的进行强制类型转换。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不能以</span>
				<span lang="EN-US">return value </span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的不同作为重载的标准。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">当程序提供了构造函数以后，系统就不在提供默认的构造函数了。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">This</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">关键字指的是当前对象，有了</span>
				<span lang="EN-US">this</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">后，可以在构造函数中以如下的方式调用</span>
		</p>
		<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">
				<img id="Codehighlighter1_8_97_Open_Image" onclick="this.style.display='none'; Codehighlighter1_8_97_Open_Text.style.display='none'; Codehighlighter1_8_97_Closed_Image.style.display='inline'; Codehighlighter1_8_97_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
				<img id="Codehighlighter1_8_97_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_8_97_Closed_Text.style.display='none'; Codehighlighter1_8_97_Open_Image.style.display='inline'; Codehighlighter1_8_97_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
				<span style="COLOR: #000000">Class A </span>
				<span id="Codehighlighter1_8_97_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://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_8_97_Open_Text">
						<span style="COLOR: #000000">{<br /><img id="Codehighlighter1_16_18_Open_Image" onclick="this.style.display='none'; Codehighlighter1_16_18_Open_Text.style.display='none'; Codehighlighter1_16_18_Closed_Image.style.display='inline'; Codehighlighter1_16_18_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_16_18_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_16_18_Closed_Text.style.display='none'; Codehighlighter1_16_18_Open_Image.style.display='inline'; Codehighlighter1_16_18_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    A () </span>
						<span id="Codehighlighter1_16_18_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://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_16_18_Open_Text">
								<span style="COLOR: #000000">{…}</span>
						</span>
						<span style="COLOR: #000000">
								<br />
								<img id="Codehighlighter1_37_40_Open_Image" onclick="this.style.display='none'; Codehighlighter1_37_40_Open_Text.style.display='none'; Codehighlighter1_37_40_Closed_Image.style.display='inline'; Codehighlighter1_37_40_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_37_40_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_37_40_Closed_Text.style.display='none'; Codehighlighter1_37_40_Open_Image.style.display='inline'; Codehighlighter1_37_40_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    A(</span>
						<span style="COLOR: #0000ff">int</span>
						<span style="COLOR: #000000"> a,</span>
						<span style="COLOR: #0000ff">char</span>
						<span style="COLOR: #000000"> b) </span>
						<span id="Codehighlighter1_37_40_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://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_37_40_Open_Text">
								<span style="COLOR: #000000">{… }</span>
						</span>
						<span style="COLOR: #000000">
								<br />
								<img id="Codehighlighter1_67_95_Open_Image" onclick="this.style.display='none'; Codehighlighter1_67_95_Open_Text.style.display='none'; Codehighlighter1_67_95_Closed_Image.style.display='inline'; Codehighlighter1_67_95_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_67_95_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_67_95_Closed_Text.style.display='none'; Codehighlighter1_67_95_Open_Image.style.display='inline'; Codehighlighter1_67_95_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    A(</span>
						<span style="COLOR: #0000ff">int</span>
						<span style="COLOR: #000000"> a,</span>
						<span style="COLOR: #0000ff">char</span>
						<span style="COLOR: #000000"> b,</span>
						<span style="COLOR: #0000ff">float</span>
						<span style="COLOR: #000000"> c) </span>
						<span id="Codehighlighter1_67_95_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://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_67_95_Open_Text">
								<span style="COLOR: #000000">{<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />        This(a,b); </span>
								<span style="COLOR: #008000">//</span>
								<span style="COLOR: #008000">注意：只能调用一次</span>
								<span style="COLOR: #008000">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />
								</span>
								<span style="COLOR: #000000">    }</span>
						</span>
						<span style="COLOR: #000000">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
				</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
		</div>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -36pt; mso-list: l1 level2 lfo2; tab-stops: list 36.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">1．3、<span style="FONT: 7pt 'Times New Roman'">   </span></span>
				</span>
				<span lang="EN-US">Static</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的含义</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">你无法在</span>
				<span lang="EN-US">static</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数中调用</span>
				<span lang="EN-US">non-static</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数，但是你可以在</span>
				<span lang="EN-US">non-static</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中调用</span>
				<span lang="EN-US">static</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt">
				<span lang="EN-US" style="mso-bidi-font-family: 宋体">
						<span style="mso-list: Ignore">二、</span>
				</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">类的清理</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">JAVA</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的垃圾回收机制只能回收</span>
				<span lang="EN-US">new</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">出来的对象，但是你的对象不是</span>
				<span lang="EN-US">new</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">出来的而获得的“特殊”内存，那么</span>
				<span lang="EN-US">JAVA</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的垃圾回收就不能处理，这样就必须用</span>
				<span lang="EN-US">finalize()</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">函数来释放你的“特殊”内存。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">JAVA</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的清理方式是先调用你的</span>
				<span lang="EN-US">finalize()</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，然后在下次垃圾回收的时候来清理你的“特殊”内存。</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">关键的三句话：</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<b style="mso-bidi-font-weight: normal">
						<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">垃圾回收不等于析构；</span>
						<span lang="EN-US">
								<o:p>
								</o:p>
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<b style="mso-bidi-font-weight: normal">
						<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">你的对象可能不被回收；</span>
						<span lang="EN-US">
								<o:p>
								</o:p>
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<b style="mso-bidi-font-weight: normal">
						<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">垃圾回收动作只回收内存。</span>
						<span lang="EN-US">
								<o:p>
								</o:p>
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用</span>
				<span lang="EN-US">System.gc()</span>
				<span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以用来强迫终结动作的发生</span>
		</p>
<img src ="http://www.blogjava.net/sodmewuhan/aggbug/40103.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sodmewuhan/" target="_blank">面朝大海</a> 2006-04-09 16:17 <a href="http://www.blogjava.net/sodmewuhan/archive/2006/04/09/40103.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVA排序算法</title><link>http://www.blogjava.net/sodmewuhan/archive/2006/04/05/39486.html</link><dc:creator>面朝大海</dc:creator><author>面朝大海</author><pubDate>Wed, 05 Apr 2006 14:16:00 GMT</pubDate><guid>http://www.blogjava.net/sodmewuhan/archive/2006/04/05/39486.html</guid><wfw:comment>http://www.blogjava.net/sodmewuhan/comments/39486.html</wfw:comment><comments>http://www.blogjava.net/sodmewuhan/archive/2006/04/05/39486.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sodmewuhan/comments/commentRss/39486.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sodmewuhan/services/trackbacks/39486.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在网上发现了这个,先收藏起来.插入排序:package org.rut.util.algorithm.support;import org.rut.util.algorithm.SortUtil;/** *//** * @author treeroot * @since 2006-2-2 * @version 1.0 */public class InsertSort implements Sor...&nbsp;&nbsp;<a href='http://www.blogjava.net/sodmewuhan/archive/2006/04/05/39486.html'>阅读全文</a><img src ="http://www.blogjava.net/sodmewuhan/aggbug/39486.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sodmewuhan/" target="_blank">面朝大海</a> 2006-04-05 22:16 <a href="http://www.blogjava.net/sodmewuhan/archive/2006/04/05/39486.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>