Class HourRandomizer

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int MIN_HOUR
      public final static int MAX_HOUR
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer getRandomValue() Generate a random value for the given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HourRandomizer

        HourRandomizer()
      • HourRandomizer

        HourRandomizer(long seed)
    • Method Detail

      • getRandomValue

         Integer getRandomValue()

        Generate a random value for the given type.

        Returns:

        a random value for the given type