Input File:
sss.java 88
sss.html 99.5
sss.java 89.5
sss.html 77
sss.java 11/13/2005
sss.html 02/22/2005
sss.java 89
.
.
.
// n inputs
Output File:
1.Sorted List for sss.java:
88
89
2.Sorted Decimal List for sss.java
89.5
3.Sorted Date list for sss.java
13-Nov-2005
1.Sorted List for sss.html:
77
2.Sorted Decimal List for sss.html
99.5
3.Sorted Date list for sss.java
22-feb-2005
i am reading the input and then using
String Tokenizer to break each input line and storing it in a Hashtable but i have a problem getting the output that can be sorted and stored in an output file in the given format.
I hope i get a reply with a bit of code.