public enum ExpressionDistribution extends Enum<ExpressionDistribution>
Enum Constant and Description |
---|
GENERATE
Generate the distribution, raising an error if invalid.
|
GENERATE_IF_VALID
Generate the distribution if a valid expression.
|
NONE
Do not generate the distribution.
|
Modifier and Type | Method and Description |
---|---|
static ExpressionDistribution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionDistribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpressionDistribution GENERATE
public static final ExpressionDistribution NONE
public static final ExpressionDistribution GENERATE_IF_VALID
public static ExpressionDistribution[] values()
for (ExpressionDistribution c : ExpressionDistribution.values()) System.out.println(c);
public static ExpressionDistribution 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 nullCopyright © 2023. All rights reserved.