Le 10/09/2009 04:11, Martin Buchholz a écrit :
On Wed, Sep 9, 2009 at 17:54, Rémi Forax<[email protected]> wrote:
Le 10/09/2009 02:15, Martin Buchholz a écrit :
Here's a bunch of static hashCode methods for primitives:
http://cr.openjdk.java.net/~martin/webrevs/openjdk7/hashCode/
This doesn't include a
public static int hashCode(object x) { return x == null ? 0 :
x.hashCode(); }
that I think was also being asked for, and which might be a candidate
for Objects.
Martin
Martin,
You forget java.lang.Boolean in your patch set :)
Rémi, merci beaucoup.
Les Booleans, je les avaient oubliée.
Mes patchs pour les classes wrapper,
tous les deux, maintenant incluent Boolean.
http://cr.openjdk.java.net/~martin/webrevs/openjdk7/hashCode/
http://cr.openjdk.java.net/~martin/webrevs/openjdk7/compare/
Martin
Wow, you're able to write in French.
From now onwards, I will write my email to you in French :)
Rémi
Rémi