![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
Code
List<String[]> userList = new ArrayList();
for (int jj = 0; jj < 10; jj++) {
String[] dto = new String[2];
dto[0] = "编号" + jj;
dto[1] = "名称rname" + jj;
userList.add(dto);
}
if (userList != null && userList.size() > 0) {
for (int i = 0; i < userList.size(); i++) {
String[] ab = userList.get(i);
System.out.println(ab.toString());
for (int j = 0; j < ab.length; j++) {
String b = ab[j];
}
}
}
posted @
2009-10-20 15:16
Pato'
阅读(
1849)
评论()
编辑
收藏
举报