// Assigning values to from sheet1 1 st data from columns 4 and 5 to a listofIntends[1], 2 nd data from columns 4 and 5 to a listofIntends [2], and so on till
// listofIntends[10]

     Set setofIntends = new HashSet();
     Set speedycheck = new HashSet();
     int ircount = 10;
     int iccount = 5;
     for (int y = 1 ; y <= ircount ; y++) {
       for ( int z = 4 ; z <= iccount ; z++) {
                 XSSFCell cellValue = sheet1.getRow(y).getCell(z);
                  String str_cellValue = cellValue.getStringCellValue();
                  setofIntends[y] = setofIntends[y].add(str_cellValue);   

//is it possible to setofIntends[1] for first row’s data ..etc ,



Source link https://sqa.stackexchange.com/questions/35075/is-it-possible-to-define-set-i-in--and--i-th-row-from--to-th

LEAVE A REPLY

Please enter your comment!
Please enter your name here