Java生成6位随机数
摘要:
//新建一个HashSetHashSet sixHashSet = new HashSet();//满6位时结束循环 while (sixHashSet.size() != 6) { String temp = Integer.toString((int) (Math.random() * ... 阅读全文
posted @ 2015-04-15 01:24 boyysys 阅读(5534) 评论(0) 推荐(1) 编辑