类 FastRandom
java.lang.Object
io.github.lijinhong11.mittellib.utils.random.FastRandom
A fast random number generator based on SplitMix64
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static doublestatic doublenextDouble(double bound) static doublenextDouble(double origin, double bound) static intnextInt()static intnextInt(int bound) static intnextInt(int origin, int bound) static longnextLong()static longnextLong(long bound) static longnextLong(long origin, long bound)
-
构造器详细资料
-
FastRandom
public FastRandom()
-
-
方法详细资料
-
nextInt
public static int nextInt() -
nextInt
public static int nextInt(int bound) -
nextInt
public static int nextInt(int origin, int bound) -
nextLong
public static long nextLong() -
nextLong
public static long nextLong(long bound) -
nextLong
public static long nextLong(long origin, long bound) -
nextDouble
public static double nextDouble() -
nextDouble
public static double nextDouble(double bound) -
nextDouble
public static double nextDouble(double origin, double bound)
-