need help finding code in javadoc
Hello there :)
i have some names in a txt file that i put in jGrasp, then i want to make the names in alphabetically order in a other txt file.
is there a command to do that? i have been looking in javadoc but i can't seem to find it anywhere :s
can someone help me find it or know how to that? :)
i'm would really like to get some help so i know where i can find the code in javadoc :)
Re: need help finding code in javadoc
There are some methods that will help you do that.
If the lines have been read into a collection of some kind, the Collections class has sort() methods you could use to sort the lines.
If the lines are in an array, the Arrays class has sort() methods.
Re: need help finding code in javadoc
Quote:
Originally Posted by
Norm
There are some methods that will help you do that.
If the lines have been read into a collection of some kind, the Collections class has sort() methods you could use to sort the lines.
If the lines are in an array, the Arrays class has sort() methods.
ye okay :/ but isn't there a way to do it without arrays? :S
Re: need help finding code in javadoc
Quote:
do it without arrays
Use an ArrayList