code: public static final int nextInteger(int min, int max) {
  		return min == max ? min : min + getRandom().nextInt(max - min);
  	}
docs: Returns a random value in the desired interval
  
  @param min
  minimum value (inclusive)
  @param max
  maximum value (exclusive)
  @return a random value