Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 20 May 2011 07:00:56 -0500 Date: Fri, 20 May 2011 05:00:45 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Did the sort do anything? References: <9303hcFq0nU1@mid.individual.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 20 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 75.8.126.96 X-Trace: sv3-Q8UN2IhtYkquCePNz9Ntv8ykiZe62AbfOVhC7SwJ9IVdOITd8eKNPim2ASUfafCxK3t6zwWSIn8Q2DB!6gNHtmET7AxKpF02yXaR7sHkVE9LYjUSZ2GF88kRaGXHfd4ddZxRsh7HJbDekoFeVne4nakqc1M8!x8r84QwG6srbuGRGM5gWkAQgzl3NoFChmf0VzkN9h+0= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2550 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4356 On 5/19/2011 11:46 PM, Lawrence D'Oliveiro wrote: > In message, Patricia > Shanahan wrote: > >> Now that we have clarified the fact that System.identityHashCode(x) is >> not merely a synonym for x.hashCode(), have you changed your mind about >> the need, or otherwise, for stability when sorting Java objects based on >> the entire value of the object's fields? > > What do you think I said about “the need, or otherwise, for stability”? "If, on the other hand, you were sorting immutable objects of a Java “reference” type where the key was the entire object state, then stability would indeed be irrelevant, notwithstanding such types are not considered “primitive”." [http://groups.google.com/group/comp.lang.java.programmer/msg/17e3a8e513ceab46] Patricia