2014-09-03 73 views

回答

2

嘗試:

new java.util.Random().nextLong()

沒有必要當談到Groovy來指定包java.util

要生成的數字:

new Random().with { (1..1000000).collect { nextLong()} } 
相關問題