Returns one of the _SOMETHING_ALPHABET byte arrays depending on the options specified. It's possible, though silly, to specify ORDERED and URLSAFE in which case one of them will be picked, though there is no guarantee as to which one will be picked.
( int options )
| 400 | * no guarantee as to which one will be picked. |
| 401 | */ |
| 402 | private final static byte[] getAlphabet( int options ) { |
| 403 | if ((options & URL_SAFE) == URL_SAFE) { |
| 404 | return _URL_SAFE_ALPHABET; |
| 405 | } else if ((options & ORDERED) == ORDERED) { |
| 406 | return _ORDERED_ALPHABET; |
| 407 | } else { |
| 408 | return _STANDARD_ALPHABET; |
| 409 | } |
| 410 | } // end getAlphabet |
| 411 | |
| 412 | |
| 413 | /** |