return to tranceaddict TranceAddict Forums Archive > Local Scene Info / Discussion / EDM Event Listings > Canada > Canada - Toronto & Southern Ont.

 
Programming with Java
View this Thread in Original format
beefy k
If anyone is good at Java and can help me out for 10 mins i would be very greatful.

I need a method that sorts a text file alphabetically... PLEASE its due at 7!!!!!!!!!!!!!!!!!!
Swamper
read the file into an Array (BufferedReader/Readline?) and then sort it

I don't remember much as I haven't touched Java in 5 years - this page might help though.
zokissima
That's what I would do. Pump it into an array, then sort the array, and push it back into a text file.
Cosmic Fur
quote:
Originally posted by beefy k
If anyone is good at Java and can help me out for 10 mins i would be very greatful.

I need a method that sorts a text file alphabetically... PLEASE its due at 7!!!!!!!!!!!!!!!!!!


I charge $25/hr, and it took me 5 minutes to answer your question on MSN, so you owe me 2 dollars.
dEsidEL


lol.. good old TOTA manfest hard @ work :D

CLICK TO RETURN TO TOP OF PAGE
 
Privacy Statement