Scala Library
|
|
scala/util/Random.scala
]
object
Random
extends
RandomRandom
offers a default implementation
of scala.util.Random and random-related convenience methods.Values and Variables inherited from Random | |
self |
Method Summary | |
def
|
shuffle
[T](seq : Sequence[T]) : Sequence[T]
Returns a new sequence in random order.
|
Methods inherited from Random | |
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
seq -
the sequence to shuffle
Scala Library
|
|