Re: [text] - using RandomStringGenerator for alpha numeric

2017-07-01 Thread Amey Jadiye
characters 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','9'},{'A','Z',{'a','z'}}}; >

Re: [text] - using RandomStringGenerator for alpha numeric

2017-06-29 Thread Amey Jadiye
and easy to use API. Ex. char [][] ranges = {{'0','9'},{'A','Z',{'a','z'}}}; RandomStringGenerator generator = new RandomStringGenerator.Builder() .withinRange(ranges).build(); > > >>> Regards, >>> Amey >>> >>> ---

Re: [text] - using RandomStringGenerator for alpha numeric

2017-06-29 Thread Gilles
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 <ameyjad...@gmail.com> Date: Tue, Jun 27, 2017 at 10:57 PM Subject: Re: [t

Re: [text] - using RandomStringGenerator for alpha numeric

2017-06-29 Thread Amey Jadiye
From: Amey Jadiye <ameyjad...@gmail.com> > Date: Tue, Jun 27, 2017 at 10:57 PM > Subject: Re: [text] - using RandomStringGenerator for alpha numeric > To: Commons Users List <u...@commons.apache.org>, gregh3...@gmail.com > > > Hi Greg, > > Thanks for writi