commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: [lang] Equalator?
Date Wed, 23 Jun 2004 07:32:01 GMT
Yes, I think the naming idea is good..  ConfigurationComparator probably
should have been a method on some sort of ConfigurationUtils class, as the
name is confusing...

Eric

> -----Original Message-----
> From: Emmanuel Bourg [mailto:smanux@lfjr.net]
> Sent: Monday, June 21, 2004 9:02 PM
> To: Jakarta Commons Developers List
> Subject: Re: [lang] Equalator?
>
>
> Edelson, Justin wrote:
>
> > 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).
>
> We have a simiar interface in [configuration], that's
> ConfigurationComparator, it defines a simple compare(conf1, conf2)
> method returning a boolean. I'm not quite satisfied with the name since
> it leads to think it inherits the java.util.Comparator interface. An
> Equalator interface in [lang] could be a good replacement.
>
> Emmanuel Bourg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message