Class RandomUtils


  • public class RandomUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Random random  
    • Constructor Summary

      Constructors 
      Constructor Description
      RandomUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long randomDelay()  
      static int randomFromSet​(java.util.Set<java.lang.Integer> set)  
      static int randomIntBetween​(int min, int max)  
      • Methods inherited from class java.lang.Object

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

      • random

        public static final java.util.Random random
    • Constructor Detail

      • RandomUtils

        public RandomUtils()
    • Method Detail

      • randomIntBetween

        public static int randomIntBetween​(int min,
                                           int max)
      • randomFromSet

        public static int randomFromSet​(java.util.Set<java.lang.Integer> set)
      • randomDelay

        public static long randomDelay()