java根据概率生成数字
摘要:
/** * JAVA 返回随机数,并根据概率、比率 * @author zhanglei * */ public class MathRandom { /** * 0出现的概率为%50 */ public static double... 阅读全文
posted @ 2016-08-01 15:56 木鱼哥 阅读(402) 评论(0) 推荐(0)
posted @ 2016-08-01 15:56 木鱼哥 阅读(402) 评论(0) 推荐(0)