Class AbstractRandomizer<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Random random  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String[] getPredefinedValuesOf​(java.lang.String key)  
      protected double nextDouble​(double min, double max)
      Return a random double in the given range.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • random

        protected final java.util.Random random
    • Constructor Detail

      • AbstractRandomizer

        protected AbstractRandomizer()
      • AbstractRandomizer

        protected AbstractRandomizer​(long seed)
    • Method Detail

      • getPredefinedValuesOf

        protected java.lang.String[] getPredefinedValuesOf​(java.lang.String key)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • nextDouble

        protected double nextDouble​(double min,
                                    double max)
        Return a random double in the given range.
        Parameters:
        min - value (inclusive)
        max - value (exclusive)
        Returns:
        random double in the given range