Package 

Class RemoteControlUtils

    • Method Summary

      Modifier and Type Method Description
      static int getRandomIntegerByRangeOfOneToMax(int max) Randomize a number between the range of 1 to a given integer(max),Returns a double value with a positive sign, greater than or equal to 1 and less than Max value.
      • Methods inherited from class java.lang.Object

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

      • getRandomIntegerByRangeOfOneToMax

         static int getRandomIntegerByRangeOfOneToMax(int max)

        Randomize a number between the range of 1 to a given integer(max),Returns a double value with a positive sign, greater than or equal to 1 and less than Max value.if the given max integer is negative, the method will throw anIllegal argument exception