well yes i get what you are saying and it does make sense..
so i have found something like
File input = new File(argv[0]);
BufferedReader br = new BufferedReader(new FileReader(input));
String line;
List<List<String>> rows = new ArrayList<List<String>>();
while ((line = br.readLine()) != null) {
String[] columns = line.split("\t");
List<String> columnList = Arrays.asList(columns);
rows.add(columnList);
}
but the last like here "rows.add(columnList) g
ives me an error.
And also that i am a little confused with the list of list.. Is it that the 1st list separates columns and the second list separates rows ? and also that what is the "row" and "columnList" doing here ?? It would be easy for me if i get a small explanation for the above code as to how it works.. Thank you in advance..