Vector[] hasGather=new Vector[vector.size()];
Vector[] notGather=new Vector[vector.size()];
for(int j=0;j<count;j++)
{
String symptom1=rs.getString(2+j);
if(selectVector.contains(symptom1))
hasGather[i].add(symptom1);
else
notGather[i].add(symptom1);
}
“selectVector"也为一个向量
为什么会产生异常?请大家帮帮忙,帮忙给出解法(给出了主要代码,没给全,但不影响纠错)
Vector[] notGather=new Vector[vector.size()];
for(int j=0;j<count;j++)
{
String symptom1=rs.getString(2+j);
if(selectVector.contains(symptom1))
hasGather[i].add(symptom1);
else
notGather[i].add(symptom1);
}
“selectVector"也为一个向量
为什么会产生异常?请大家帮帮忙,帮忙给出解法(给出了主要代码,没给全,但不影响纠错)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货