Class RandomUtils


  • public class RandomUtils
    extends Object

    Provides functions to generate random numbers

    Since:
    2.0
    Author:
    Lukas Reithmeier
    • Method Detail

      • inRange

        public static double inRange​(double min,
                                     double max)
        calculates a random number that is in a range from min to max
        Parameters:
        min - min
        max - max
        Returns:
        random