Hello, I was looking for a min/max function working with dates and thought such a trivial feature would be already in [lang], but surprisingly it isn't. I expected a min/max(Date, Date) function in DateUtils, then I looked for a min/max(Comparable, Comparable) and I eventually found the ComparatorUtils.min/max(Object, Object, Comparator) functions in [collections]. Wouldn't it make sense to move or copy these functions to [lang] ? Maybe just adding a ComparableUtils class to [lang] would be enough, what do you think ? I can contribute a patch.
Can't you just use java.util.Collections min(Collection) and max(Collection)?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
