-
public class RemoteControlUtils
-
-
Method Summary
Modifier and Type Method Description static intgetRandomIntegerByRangeOfOneToMax(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. -
-
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
-
-
-
-