|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Uniform de.cesr.lara.components.util.impl.LUniformController
public class LUniformController
Constructor Summary | |
---|---|
LUniformController(RandomEngine arg2)
|
Method Summary | |
---|---|
boolean |
nextBoolean()
|
double |
nextDouble()
|
double |
nextDoubleFromTo(double from,
double to)
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to). |
float |
nextFloatFromTo(float from,
float to)
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to). |
int |
nextInt()
Returns a uniformly distributed random number in the closed interval [min,max] (including min and max). |
int |
nextIntFromTo(int from,
int to)
|
long |
nextLongFromTo(long from,
long to)
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LUniformController(RandomEngine arg2)
arg2
- Method Detail |
---|
public boolean nextBoolean()
public double nextDouble()
public double nextDoubleFromTo(double from, double to)
public float nextFloatFromTo(float from, float to)
public int nextInt()
public int nextIntFromTo(int from, int to)
cern.jet.random.Uniform#nextIntFromTo(int, int)
public long nextLongFromTo(long from, long to)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |