Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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