Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
def list = [25, 30, 1, 450, 3, 78]
|
||||
def random = new Random();
|
||||
|
||||
(0..3).each {
|
||||
def i = random.nextInt(list.size())
|
||||
println "list[${i}] == ${list[i]}"
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
[25, 30, 1, 450, 3, 78].sort{new Random()}?.take(1)[0]
|
||||
Loading…
Add table
Add a link
Reference in a new issue