我是这样想的,假如公司名在第一列,
int j=0;
int[] count = new int[cs.length];
String [] name = new String[cs.length];
for(int i=0;i<cs.length;i++){
Cell c =cs[i];
String s =c.getContents();
count[j]++;
name[j] = s;
if(!c.getContents().equals("")){
j++;
}
}
int j=0;
int[] count = new int[cs.length];
String [] name = new String[cs.length];
for(int i=0;i<cs.length;i++){
Cell c =cs[i];
String s =c.getContents();
count[j]++;
name[j] = s;
if(!c.getContents().equals("")){
j++;
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货