commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject Re: [lang] RandomStringUtils javadoc patch
Date Sat, 28 Sep 2002 10:44:29 GMT
Last five patches applied, thanks.


----- Original Message -----
From: "Steve Downey" <>
To: <>
Sent: Saturday, September 28, 2002 5:58 AM
Subject: [lang] RandomStringUtils javadoc patch

Does   :
public static String random(int count, int start, int end, boolean letters,
boolean numbers, char[] set)

really need to be public? Odds of correct use seem to be pretty low. It's a
nice as a shared implementation, but it doesn't look like something that
someone would really use.

Also, drawing and rejecting random characters can tail off forever. It's
probablistic O(n), but the constant is proportional to the density of the
allowed characters out of all characters. Something for the future. I didn't
note this in the docs. Should I?


> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message