Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 662B610133 for ; Sat, 15 Jun 2013 16:29:28 +0000 (UTC) Received: (qmail 83749 invoked by uid 500); 15 Jun 2013 16:29:27 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 83590 invoked by uid 500); 15 Jun 2013 16:29:22 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 83582 invoked by uid 99); 15 Jun 2013 16:29:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jun 2013 16:29:20 +0000 Date: Sat, 15 Jun 2013 16:29:20 +0000 (UTC) From: "Duncan Jones (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-900) New RandomUtils class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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