Issue 95 in google-collections: Add Objects.hashCode overloads for Object + all primatives

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 3, 2008, 3:54:58 PM9/3/08
to google-coll...@googlegroups.com
Issue 95: Add Objects.hashCode overloads for Object + all primatives
http://code.google.com/p/google-collections/issues/detail?id=95

Comment #3 by estebistec:
+1 to standardized primitive hashing functions

Re #2: "This class could also have equals(P,P) methods for all primitives,
that use
{Float,Double}.compare"

Why not just expose "compare" methods for the primitives then?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Sep 3, 2008, 8:45:24 PM9/3/08
to google-coll...@googlegroups.com
Issue 95: Add Objects.hashCode overloads for Object + all primatives
http://code.google.com/p/google-collections/issues/detail?id=95

Comment #4 by jared.l.levy:
The Comparators class already has compare methods for the primitives.


Issue attribute updates:
Labels: -Type-Defect Type-Enhancement

codesite...@google.com

unread,
Sep 4, 2008, 10:45:32 AM9/4/08
to google-coll...@googlegroups.com
Issue 95: Add Objects.hashCode overloads for Object + all primatives
http://code.google.com/p/google-collections/issues/detail?id=95

Comment #5 by estebistec:
Right-o. Forgot about that as I generalized his "equals" request...

Back to the main issue in the bug, the hashCode methods would be nice.

Reply all
Reply to author
Forward
0 new messages