commons-dev mailing list archives

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

Stephen

----- Original Message -----
From: "Steve Downey" <steve.downey@netfolio.com>
To: <commons-dev@jakarta.apache.org>
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:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message