A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Sort song titles
Joined: Feb 13, 2003
Mar 03, 2003 02:07:00
how can i sort the titles of the songs in descending order by using String.comparTo() method?
Peter den Haan
Joined: Apr 20, 2000
Mar 03, 2003 02:18:00
Assuming that "songs" is a List of song titles or Song objects that have a sensible natural ordering. If not, then please tell us a bit more about your problem.
I agree. Here's the link:
subject: Sort song titles
WA #1.....word association
this are not dumb questions (for me)
how to get a seesion object without using cookie?
How can I set the color of the message validation
Green Horn !*/? Ranch Hand!!!??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014