日期:2014-05-17 浏览次数:20646 次
String s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Random random = new Random();
StringBuilder builder = new StringBuilder();
String[] str = new String[10000];
for(int i=0;i<10000;i++){
builder.setLength(0);
builder.append(s.charAt(random.nextInt(23))).append(s.charAt(random.nextInt(23))).append((random.nextInt(90)+10)*10000 + i);
str[i] = builder.toString();
}