类 MersenneTwisterRandom
- java.lang.Object
-
- com.github.myibu.algorithm.random.MersenneTwisterRandom
-
-
构造器概要
构造器 构造器 说明 MersenneTwisterRandom()MersenneTwisterRandom(long seed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleannextBoolean()voidnextBytes(byte[] bytes)doublenextDouble()floatnextFloat()intnextInt()intnextInt(int bound)longnextLong()
-
-
-
方法详细资料
-
nextBoolean
public boolean nextBoolean()
- 指定者:
nextBoolean在接口中Random
-
nextDouble
public double nextDouble()
- 指定者:
nextDouble在接口中Random
-
-