commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject Re: [collections][lang] generic min/max functions
Date Tue, 25 May 2004 14:12:12 GMT
matthew.hawthorne wrote:

> I see your point now.  But, in the meanwhile, you could always do it 
> this way:
> Date date = Collections.min(Arrays.asList(new Date[] {date1, date2}))
> I'd imagine that this may be a bit wasteful (object-creation wise), but 
> it's a one liner nonetheless.

Yes it's a one liner as well but still difficult to read, I'm just 
aiming at ease of use.

Emmanuel Bourg

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

View raw message