Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Did the sort do anything? Date: Fri, 20 May 2011 18:12:00 -0400 Organization: albasani.net Lines: 35 Message-ID: References: <9303hcFq0nU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net baWjpmKg4SBzl48ecMpw1Gh0lcIfirqf3WSlSB0JN7JrCu9McFjYwxWLPWxCtuG4oLDy1AG8SD9jAmKjfqc11NNsSGWZkysLeerSRT4K9PGw2gXD7HnG+PyT8T4TY8EQ NNTP-Posting-Date: Fri, 20 May 2011 22:12:01 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="jdty+uZBd1XIFktA7yZ3mGkGU8vjSk68brkmzg9E3yOCqtaRV3/fdT3sh7I5oSk8vjbRuWWwhxkx+RDeINss30dQfd8e2byU89YRWQ+T5g2RNRQ+c3f0p9kGhG22R4dr"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:P3SU6N22GtMERhgOYSIpkmwhi4Y= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4367 Lawrence D'Oliveiro wrote: > Patricia Shanahan wrote: >> Patricia Shanahan wrote: >>> Lawrence D'Oliveiro wrote: >>>> 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] >> To further refresh your memory, the question I raised was whether you >> consider System.identityHashCode(x) to be part of the "entire object >> state" of the object referenced by x. > What is the significance of sorting on a hash function? I believe Patricia is asking you that question, Lawrence. In any event, you should at least answer her question with an answer instead of another question, Lawrence. You had made some statements earlier, of which Patricia reminded you, and she wants to know if the information provided since has addressed the concerns you raised. Can you not address that first, Lawrence? Won't you please address that first, Lawrence? -- Lew