[ 
https://issues.apache.org/jira/browse/LANG-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684236#comment-13684236
 ] 

Duncan Jones commented on LANG-900:
-----------------------------------

Might be a nice idea. I nearly put that in the first draft, but I was erring on 
the side of simplicity.
                
> New RandomUtils class
> ---------------------
>
>                 Key: LANG-900
>                 URL: https://issues.apache.org/jira/browse/LANG-900
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Duncan Jones
>            Priority: Minor
>         Attachments: RandomUtils.java, RandomUtilsTest.java
>
>
> Attached is a new {{RandomUtils}} class and associated test, which offers 
> some methods not available in the standard {{Random}} class:
>  - a {{nextBytes(int count)}} method that returns a byte array
>  - versions of {{nextInt}}, {{nextLong}}, {{nextFloat}} and {{nextDouble}} 
> that return a value within a range.
> Comments very welcome!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to