public static Characters of(String chars) {
        return StringUtils.isEmpty(chars) ? Characters.NONE : new Characters(false, chars.toCharArray());
    }
public static Characters of ( String chars ) { return StringUtils . isEmpty ( chars ) ? Characters . NONE : new Characters ( false , chars . toCharArray ( ) ) ; }
Creates a new Characters instance containing only the given chars.

@param chars the chars
@return a new Characters object