commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack, Paul" <pj...@sfaf.org>
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?

-Paul

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


Mime
View raw message