You would probably want to piggy back your implementation off of ConvertUtils
-----Original Message----- From: Luke Chastain [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 1:55 PM To: Jakarta Commons Developers List Subject: Re: [lang] Equalator? I think he is might be looking for something like: Float f = new Float(1.0); Double d = new Double(1.0); Equalator.equals(f, d); and have it return true. On May 11, 2004, at 11:46 AM, Hookom, Jacob wrote: > There's this method on Object called "equals"... I suppose you could > write a > single object called Equalator that does: > > Public Boolean equals(object a, object b) { > Return a.equals(b); > } > > -----Original Message----- > From: Edelson, Justin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 11, 2004 1:25 PM > To: Jakarta Commons Developers List > Subject: [lang] Equalator? > > I'm writing a few classes that currently implement Comparator, but I > really don't care about comparisons - I just want to use an object to > test equality, ergo Equalator. Does such an interface exist somewhere > in > lang (I can't find anything similar). > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
