Re: Exotic classes

2019-04-26 Thread Steven Stewart-Gallus
It seems to me you have to do a lot of hacky stuff to get around the "ugly" API as you call it. Maybe it'd be better to separate out the ObjectSupport class into two separate classes, a HasherSupport class and an EqualsSupport class. interface HashSupport { public static HashSupport of(L

Re: Exotic classes

2019-04-26 Thread Remi Forax
> De: "Steven Stewart-Gallus" > À: "mechanical-sympathy" > Envoyé: Vendredi 26 Avril 2019 01:51:47 > Objet: Re: Exotic classes Hi Steven, thanks for spending some time on this, > 1. Why > public abstract class ObjectSupport { > public abstract boolean equals ( Object self , Object other ); > p