类 MersenneTwisterRandom

  • 所有已实现的接口:
    Random

    public class MersenneTwisterRandom
    extends java.lang.Object
    implements Random
    Mersenne Twister method for generating Pseudo Random Numbers MT19937
    • 构造器详细资料

      • MersenneTwisterRandom

        public MersenneTwisterRandom()
      • MersenneTwisterRandom

        public MersenneTwisterRandom​(long seed)
    • 方法详细资料

      • nextBytes

        public void nextBytes​(byte[] bytes)
        指定者:
        nextBytes 在接口中 Random
      • nextInt

        public int nextInt()
        指定者:
        nextInt 在接口中 Random
      • nextInt

        public int nextInt​(int bound)
        指定者:
        nextInt 在接口中 Random
      • nextLong

        public long nextLong()
        指定者:
        nextLong 在接口中 Random
      • nextBoolean

        public boolean nextBoolean()
        指定者:
        nextBoolean 在接口中 Random
      • nextFloat

        public float nextFloat()
        指定者:
        nextFloat 在接口中 Random
      • nextDouble

        public double nextDouble()
        指定者:
        nextDouble 在接口中 Random