commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan Jones (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-900) New RandomUtils class
Date Sat, 15 Jun 2013 12:27:19 GMT
Duncan Jones created LANG-900:
---------------------------------

             Summary: 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


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

Mime
View raw message