Serializable
, Comparable<RandomTextMode>
, org.refcodes.mixin.CharSetAccessor
public enum RandomTextMode extends Enum<RandomTextMode> implements org.refcodes.mixin.CharSetAccessor
RandomTextMode
specifies for according chars to be used when
generating random text.org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B extends org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B>>, org.refcodes.mixin.CharSetAccessor.CharSetMutator, org.refcodes.mixin.CharSetAccessor.CharSetProperty
Enum Constant | Description |
---|---|
ALPHABETIC |
|
ALPHANUMERIC |
|
ASCII |
|
BINARY |
|
HEXADECIMAL |
|
LOWER_CASE |
|
NUMERIC |
|
UPPER_CASE |
Modifier and Type | Method | Description |
---|---|---|
char[] |
getCharSet() |
|
static RandomTextMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static RandomTextMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomTextMode ASCII
public static final RandomTextMode ALPHABETIC
public static final RandomTextMode UPPER_CASE
public static final RandomTextMode LOWER_CASE
public static final RandomTextMode ALPHANUMERIC
public static final RandomTextMode NUMERIC
public static final RandomTextMode BINARY
public static final RandomTextMode HEXADECIMAL
public static RandomTextMode[] values()
for (RandomTextMode c : RandomTextMode.values()) System.out.println(c);
public static RandomTextMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char[] getCharSet()
getCharSet
in interface org.refcodes.mixin.CharSetAccessor
Copyright © 2018. All rights reserved.