mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Implemented Last One Standing
This commit is contained in:
parent
cd04e89688
commit
a4a4cf7bd5
3 changed files with 103 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue