[
https://issues.apache.org/jira/browse/LANG-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868854#comment-13868854
]
Benedikt Ritter commented on LANG-900:
--------------------------------------
{code}
bene@localhost:~/workspace/apache/commons/lang$ svn ci -m "LANG-900: New
RandumUtils class. Thanks to Duncan Jones"
Sending src/changes/changes.xml
Adding src/main/java/org/apache/commons/lang3/RandomUtils.java
Adding src/test/java/org/apache/commons/lang3/RandomUtilsTest.java
Transmitting file data ...
Committed revision 1557434.
{code}
Thanks for contributing!
> 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
> Assignee: Benedikt Ritter
> Priority: Minor
> Fix For: 3.3
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)