Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Random sorting of an array

Thread view: 
Mike - 18 Jun 2006 20:32 GMT
How can I randomly sort an array of strings?
Patricia Shanahan - 18 Jun 2006 20:53 GMT
> How can I randomly sort an array of strings?

Collections.shuffle(Arrays.asList(data));

Patricia
Thomas Hawtin - 18 Jun 2006 20:54 GMT
> How can I randomly sort an array of strings?

Collections.shuffle(Arrays.asList(myArrayOfStrings));

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

Justin - 18 Jun 2006 20:57 GMT
> --
> Unemployed English Java programmer
> http://jroller.com/page/tackline/

I just checked out the site you above mentioned. Its one of the coolest
java discussion sites i have ever visited. Keep up the  good work. I
really liked your site. I would like to suggest it to all members of my
group as well as all my friends.

with regards
justin
Mike - 18 Jun 2006 20:58 GMT
That was quick! Thank you to you both.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.