throw MathRuntimeException.createIllegalArgumentException(
"upper bound ({0}) must be greater than lower bound ({1})",
upper, lower);
}
SecureRandom sec = getSecRan();
return lower + (int) (sec.nextDouble() * (upper - lower + 1));
}
/**
* Generate a random long value uniformly distributed between
* <code>lower</code> and <code>upper</code>, inclusive. This algorithm uses