public static int randomIntGreaterThan ( int minExclusive ) { checkArgument ( minExclusive < Integer . MAX_VALUE , "Cannot produce int greater than %s" , Integer . MAX_VALUE ) ; return randomInt ( minExclusive + 1 , Integer . MAX_VALUE ) ; }
Returns a random int that is greater than the given int .