however that is little
> painful for application developers.
>
> What I'm pushing for is pass just array of (min, max) pairs and API will
> take care of it, that will be less painful and easy to use API.
>
> Ex.
>
> char [][] ranges = {{'0
t will be less painful and easy to use API.
Ex.
char [][] ranges = {{'0','9'},{'A','Z',{'a','z'}}};
RandomStringGenerator generator = new
RandomStringGenerator.Builder()
.withinRange(ranges).build();
elong to this class (or its builder).
At first sight, it seems preferable that ranges are transformed (into
an array of characters) before being passed to the generator builder.
Regards,
Gilles
Regards,
Amey
-- Forwarded message ------
From: Amey Jadiye
Date: Tue, Jun 27, 2017 at 10:
> Amey
>
> ---------- Forwarded message --
> From: Amey Jadiye
> Date: Tue, Jun 27, 2017 at 10:57 PM
> Subject: Re: [text] - using RandomStringGenerator for alpha numeric
> To: Commons Users List , gregh3...@gmail.com
>
>
> Hi Greg,
>
&g
Forwarded message --
From: Amey Jadiye
Date: Tue, Jun 27, 2017 at 10:57 PM
Subject: Re: [text] - using RandomStringGenerator for alpha numeric
To: Commons Users List , gregh3...@gmail.com
Hi Greg,
Thanks for writing to us, as range are the codePoints you can use it like
below.
Ran