Class RandomEngine

  • Direct Known Subclasses:
    DRand

    public class RandomEngine
    extends java.lang.Object
    Reimplementation of the colt RandomEngine interface atop java.util.Random
    • Field Detail

      • r

        private java.util.Random r
    • Constructor Detail

      • RandomEngine

        public RandomEngine​(long seed)
      • RandomEngine

        public RandomEngine()
    • Method Detail

      • apply

        public double apply​(double _ignored)
      • apply

        public int apply​(int _ignored)
      • nextDouble

        public double nextDouble()
      • nextFloat

        public float nextFloat()
      • nextInt

        public int nextInt()
      • nextLong

        public long nextLong()
      • raw

        public double raw()