You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2017/06/22 00:21:00 UTC

[jira] [Commented] (TEXT-93) RandomStringGenerator accepts a list of valid characters

    [ https://issues.apache.org/jira/browse/TEXT-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058503#comment-16058503 ] 

Gilles commented on TEXT-93:
----------------------------

We could have
* {{selectFromList(char[])}}
* {{selectFromList(List<Character>)}}


> RandomStringGenerator accepts a list of valid characters
> --------------------------------------------------------
>
>                 Key: TEXT-93
>                 URL: https://issues.apache.org/jira/browse/TEXT-93
>             Project: Commons Text
>          Issue Type: Wish
>            Reporter: Wilson MacGyver
>
>  implement a "selectFrom" feature:
>   RandomStringGenerator gen = new RandomStringGenerator.Builder()
>     .selectFrom(charArray)
>     .build();
> so we can pass a list of valid characters



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)