Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: bob smith Newsgroups: comp.lang.java.programmer Subject: hashCode Date: Fri, 10 Aug 2012 08:47:12 -0700 (PDT) Organization: http://groups.google.com Lines: 8 Message-ID: <563f186a-edb3-4311-ae48-3af7decfce2c@googlegroups.com> NNTP-Posting-Host: 184.76.139.203 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1344614096 3622 127.0.0.1 (10 Aug 2012 15:54:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Aug 2012 15:54:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=184.76.139.203; posting-account=v1lx5wkAAAALWYfGBkwkMb2guPF9cW2u User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.programmer:17577 Is it always technically correct to override the hashCode function like so: @Override public int hashCode() { return 1; } Would it be potentially better if that was Object's implementation?