Implemented Last One Standing

This commit is contained in:
Evan Kranzler 2018-05-23 14:09:37 -04:00
parent cd04e89688
commit a4a4cf7bd5
3 changed files with 103 additions and 1 deletions

View file

@ -8,8 +8,12 @@ import java.util.concurrent.ThreadLocalRandom;
*/
public final class RandomUtil {
private RandomUtil() {
}
public static Random getRandom() {return ThreadLocalRandom.current();}
public static Random getRandom() {
return ThreadLocalRandom.current();
}
public static int nextInt() {
return ThreadLocalRandom.current().nextInt();