Class DataGeneratorUtils


  • public final class DataGeneratorUtils
    extends Object
    DataGeneratorUtils
    Since:
    26 janv. 2018
    • Field Detail

      • LOREM

        public static final String[] LOREM
      • CATEGORY

        public static final String[] CATEGORY
    • Method Detail

      • getWord

        public static String getWord()
      • getCategory

        public static String getCategory()
      • getLabel

        public static String getLabel()
      • getPhrase

        public static String getPhrase()
      • getSection

        public static String getSection()
      • getSection

        public static String getSection​(int nbLine,
                                        int nbWordMin,
                                        int nbWordMax)
      • getPhrase

        public static String getPhrase​(int nbWordMin,
                                       int nbWordMax,
                                       boolean isLabel)
      • getDouble

        public static double getDouble​(double min,
                                       double max)
      • getRandomBetween

        public static int getRandomBetween​(int start,
                                           int end)