com.sun.msv.generator

Class Rand.UniformRand

Enclosing Class:
Rand
Implemented Interfaces:
Rand

public static class Rand.UniformRand
extends Object
implements Rand

uniform distribution of [0,x).
Author:
Kohsuke KAWAGUCHI

Constructor Summary

UniformRand(Random rand, int max)

Method Summary

int
next()

Constructor Details

UniformRand

public UniformRand(Random rand,
                   int max)

Method Details

next

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