---------  Original message --------
From: Jack, Paul <[EMAIL PROTECTED]>
> > I too like the ComparatorUtils concept outlined below.
> > However, we might
> > want to consider whether the method names are nullFirst(Comparator) or
> > nullFirstComparator(Comparator) etc. I raise this because
> > PredicateUtils
> > uses the latter at the moment, and it would be nice to be
> > consistent (we
> > could change PredicateUtils if required).

> Hm.  I always favor shorter names, especially when the longer
> names are redundant...the ComparatorUtils I submitted uses the
> shorter names...

> What do you think of
>     Set predicate(Set set, Predicate predicate)
> ?  Is that too nondescript?

Actually, there is another factor involved. The java.utils.Collections class
uses the long form, eg.
Collections.unmodifiableMap(Map);

Thus I would prefer the long form. We could agree to differ from Sun
however, in which case I would submit a patch to the Predicate code.

Stephen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to