com.tidb.jdbc.utils.RandomUtils Maven / Gradle / Ivy
The newest version!
package com.tidb.jdbc.utils;
import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;
public class RandomUtils {
public static int randomValue(int max){
Random random = ThreadLocalRandom.current();
return random.nextInt(max);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy