i have a program thats has a data file that contains different strings like
ATGTCATGG
ATGCGATGGGGGGTCGCCCC
ATGTTT
the out put would be for this
the closest two are 3 apart in length
their indices are 0,2.
And the code so far that i have writen reads the file and checks how long each of the strngs are and it gives me what order the
string is in. i have all this saved into a HashMap becasue an array list can only hold one value and hash map can hold 2. but my problem is that i cant figure out how do get the difference between the strings. the program is sapoose to find the clostest 2 and see how much they are apart by. i dont konw what to do with the hash map, becasue i cant sort the values .....
thankx
[ edited to disable smilies -ds ]
[ November 28, 2004: Message edited by: Dirk Schreckmann ]