[
https://issues.apache.org/jira/browse/LANG-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667588#comment-15667588
]
Gilles commented on LANG-1272:
------------------------------
bq. A. Why not use Collections.shuffle in the implementation?
Because "Commons RNG" provides supposedly better algorithm then
{{java.util.Random}}
bq. IMHO that should support generic types + primitive types
I've just committed sampling and shuffling for a generic list.
Comments welcome about the code currently in branch "RNG-30__sampling" (of
"Commons RNG").
> Array shuffling
> ---------------
>
> Key: LANG-1272
> URL: https://issues.apache.org/jira/browse/LANG-1272
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Emmanuel Bourg
> Priority: Minor
> Fix For: 3.6
>
>
> I'd like to suggest the addition of methods in ArrayUtils shuffling the
> content of an array (Objects or primitives). This would be similar to the
> {{java.util.Collections.shuffle()}} methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)