得到 [min,max]之间的整数 (int)(Math.random()*(max-min+1))+min; 得到 [min,max]之间的数字 new Random().nextDouble() * (max-min)+min