Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: hashCode Date: Wed, 29 Aug 2012 16:05:55 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <563f186a-edb3-4311-ae48-3af7decfce2c@googlegroups.com> <6ac6c252-c370-4f74-b29d-ce5368019977@googlegroups.com> <502598d0$0$287$14726298@news.sunsite.dk> <5028191b$0$290$14726298@news.sunsite.dk> <50317b03$0$281$14726298@news.sunsite.dk> <503bfd0f$0$282$14726298@news.sunsite.dk> <3zc%r.5945$pd4.2658@newsfe21.iad> <5Yu%r.362$1M4.148@newsfe19.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 29 Aug 2012 23:05:59 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="7276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QCgiJoeZ+GWrqu4koXHJeWuWDsvh6qCI=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <5Yu%r.362$1M4.148@newsfe19.iad> Cancel-Lock: sha1:pUxXISgMR9MC/P4VAX5akkC8U3o= Xref: csiph.com comp.lang.java.programmer:18418 On 8/29/2012 1:28 PM, Daniel Pitts wrote: > > The point is that hashing "Object" isn't entirely sensible in most > situations. Why not? I do it all the time. Put an object in, get an object out. Works great. Seriously, I think you're not being intellectually honest about the value of having a built-in hashCode() for every object.