commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack, Paul" <>
Subject RE: [Collections] ComparableComparator - nulls OK
Date Mon, 10 Jun 2002 21:14:45 GMT
> 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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message