>I'm pretty sure that'll reverse the whole string, not the list
>elements, so you if you started with ["ab, "cd", "ef"], you'd end up
>with ["fe", "dc", "ba"], rather than the correct ["ef", "cd", "ab"].
>I don't know if it would work correctly with dates either, since
>they'd be converted to strings, but wouldn't be converted back to
>dates.  The Collections.sort method, on the other hand, doesn't touch
>the objects, so neither problem would exist.

;) yeh, didn't think - just typed.

Not seen that java.utils.Collections object before - damn useful :)

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304922
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to