Module swim.math
Package swim.math

Class MersenneTwister64


  • public class MersenneTwister64
    extends Random
    • Constructor Detail

      • MersenneTwister64

        public MersenneTwister64​(long seed)
      • MersenneTwister64

        public MersenneTwister64​(long[] key)
      • MersenneTwister64

        public MersenneTwister64()
    • Method Detail

      • nextByte

        public byte nextByte()
        Specified by:
        nextByte in class Random
      • nextShort

        public short nextShort()
        Specified by:
        nextShort in class Random
      • nextInt

        public int nextInt()
        Specified by:
        nextInt in class Random
      • nextLong

        public long nextLong()
        Specified by:
        nextLong in class Random
      • nextFloat

        public float nextFloat()
        Specified by:
        nextFloat in class Random
      • nextDouble

        public double nextDouble()
        Specified by:
        nextDouble in class Random
      • nextBoolean

        public boolean nextBoolean()
        Specified by:
        nextBoolean in class Random