[
https://issues.apache.org/jira/browse/LANG-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667588#comment-15667588
]
Gilles edited comment on LANG-1272 at 11/15/16 4:32 PM:
--------------------------------------------------------
bq. A. Why not use Collections.shuffle in the implementation?
Because "Commons RNG" provides supposedly better algorithms than
{{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").
was (Author: erans):
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)