com.sun.msv.generator
Class Rand.UniformRand
java.lang.Object
com.sun.msv.generator.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
Method Summary |
int |
next()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rand.UniformRand
public Rand.UniformRand(Random rand,
int max)
next
public int next()
- Specified by:
next
in interface Rand
MSV