static private String userIdFromRangeWithMod(String[] values,boolean include){
  int minId=Integer.parseInt(values[3]);
  int maxId=Integer.parseInt(values[4]);
  int mod=Integer.parseInt(values[5]);
  Stack<Integer> stack=getStackWithMods(minId,maxId,mod,include);
  if (stack.size() > 0) {
    return Integer.toString(stack.pop());
  }
  throw new IllegalArgumentException("Exhausted random User Ids. Range not large enough for the number of calls.");
}

static private String userIdFromRangeWithMod ( String [ ] values , boolean include ) { int minId = Integer . parseInt ( values [ 3 ] ) ; int maxId = Integer . parseInt ( values [ 4 ] ) ; int mod = Integer . parseInt ( values [ 5 ] ) ; Stack < Integer > stack = getStackWithMods ( minId , maxId , mod , include ) ; if ( stack . size ( ) > 0 ) { return Integer . toString ( stack . pop ( ) ) ; } throw new IllegalArgumentException ( "Exhausted random User Ids. Range not large enough for the number of calls." ) ; }
generate a random user id in the range provided e . g . # function . string . useridfromrange . 25 . 100
