de.cesr.lara.components.util.impl
Class LUniformController

java.lang.Object
  extended by Uniform
      extended by de.cesr.lara.components.util.impl.LUniformController

public class LUniformController
extends Uniform


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

LUniformController

public LUniformController(RandomEngine arg2)
Parameters:
arg2 -
Method Detail

nextBoolean

public boolean nextBoolean()

nextDouble

public double nextDouble()

nextDoubleFromTo

public double nextDoubleFromTo(double from,
                               double to)
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to). Pre conditions: from <= to.


nextFloatFromTo

public float nextFloatFromTo(float from,
                             float to)
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to). Pre conditions: from <= to.


nextInt

public int nextInt()
Returns a uniformly distributed random number in the closed interval [min,max] (including min and max).


nextIntFromTo

public int nextIntFromTo(int from,
                         int to)
See Also:
cern.jet.random.Uniform#nextIntFromTo(int, int)

nextLongFromTo

public long nextLongFromTo(long from,
                           long to)
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to). Pre conditions: from <= to.