﻿<?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-死性不改-最新评论</title><link>http://www.blogjava.net/quzhentao/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Fri, 23 Jul 2010 18:10:00 GMT</pubDate><lastBuildDate>Fri, 23 Jul 2010 18:10:00 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: String讨论[未登录]</title><link>http://www.blogjava.net/quzhentao/archive/2008/05/08/97972.html#199260</link><dc:creator>jack</dc:creator><author>jack</author><pubDate>Thu, 08 May 2008 07:26:00 GMT</pubDate><guid>http://www.blogjava.net/quzhentao/archive/2008/05/08/97972.html#199260</guid><description><![CDATA[    好，非常好，<br>      其实java api上说的有点错误，他说是：<br>      When the intern method is invoked, if the pool already contains a string equal to this &lt;code&gt;String&lt;/code&gt; object as determined by the {@link #equals(Object)} method, then the string from the pool is returned. Otherwise, this &lt;code&gt;String&lt;/code&gt; object is added to the pool and a reference to this &lt;code&gt;String&lt;/code&gt; object is returned.<br><br>     不应该是this &lt;code&gt;String&lt;/code&gt; object is added to the pool <br>     应该是： a new String object value equals the String object is created and added to the pool<img src ="http://www.blogjava.net/quzhentao/aggbug/199260.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/quzhentao/" target="_blank">jack</a> 2008-05-08 15:26 <a href="http://www.blogjava.net/quzhentao/archive/2008/05/08/97972.html#199260#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>