Le 27/09/2016 à 13:22, Gilles a écrit :

> I (strongly) suggest
> 
>   ArraysUtils.shuffle(Object[] array, o.a.c.rng.UniformRandomProvider rnd)

That's not possible, because we don't want to add external dependencies
to commons-lang.


> Moreover, the default RNG should be a good one, i.e. not
> "java.util.Random".

Using java.util.Random by default is good enough, and it's consistent
with Collections.shuffle():

http://docs.oracle.com/javase/8/docs/api/java/util/Collections.html#shuffle-java.util.List-

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to