Class RandomFloat

java.lang.Object
org.svvrl.goal.core.AbstractGenerator<java.lang.Double>
org.svvrl.goal.cmd.RandomFloat
All Implemented Interfaces:
Generator<java.lang.Double>

public class RandomFloat
extends AbstractGenerator<java.lang.Double>
This class provides a generator of floating-point numbers.
Author:
Ming-Hsien Tsai
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String O_MAX
    The maximal number (exclusive).
    static java.lang.String O_MIN
    The minimal number (inclusive).
  • Constructor Summary

    Constructors 
    Constructor Description
    RandomFloat()
    Constructs this generator.
  • Method Summary

    Modifier and Type Method Description
    java.lang.Double generate()
    Generates an object.

    Methods inherited from class org.svvrl.goal.core.AbstractGenerator

    getOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • O_MIN

      public static final java.lang.String O_MIN
      The minimal number (inclusive).
    • O_MAX

      public static final java.lang.String O_MAX
      The maximal number (exclusive).
  • Constructor Details

    • RandomFloat

      public RandomFloat()
      Constructs this generator.
  • Method Details