摘要: nextInt 方法 得到一个随机整数, 可以指定范围 public int nextInt(int bound) { if (bound <= 0) throw new IllegalArgumentException(BadBound); int r = next(31); int m = bo 阅读全文
posted @ 2018-11-08 23:40 江期玉 阅读(1159) 评论(0) 推荐(0) 编辑