Class Rand.UniformRand

  • All Implemented Interfaces:
    Rand
    Enclosing interface:
    Rand

    public static class Rand.UniformRand
    extends Object
    implements Rand
    uniform distribution of [0,x).
    Author:
    Kohsuke KAWAGUCHI
    • Constructor Detail

      • UniformRand

        public UniformRand​(Random rand,
                           int max)
    • Method Detail

      • next

        public int next()
        Specified by:
        next in interface Rand