import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
public class validate2
{
private Map<double,> dataMap = null;
public static void main(String[] args) throws IOException {
String dataFileName = "E://abc1.txt";
Validate validate = new Validate();
validate.initializeData(dataFileName);
validate.printData();
}
public String getValue(Double key)
{
String value = null;
Long longValue = null;
if ((longValue=dataMap.get(key)) == null)
{
value = "value is null";
} else {
value = longValue.toString();
}
return value;
}
}
================================================================================
**this is my work, which is wrong,at first i need to get the integer values & later float values**
306014503350001,0.7167574
1371031512360001,0.4335363
1371054509380001,2.3803377
1671046105520001,1.4315698
o/p should b in above format aftr sorting
===============================================================================