Enum NumericConfig.Type
- java.lang.Object
-
- java.lang.Enum<NumericConfig.Type>
-
- com.healthmarketscience.jackcess.expr.NumericConfig.Type
-
- All Implemented Interfaces:
Serializable,Comparable<NumericConfig.Type>
- Enclosing class:
- NumericConfig
public static enum NumericConfig.Type extends Enum<NumericConfig.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumericConfig.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static NumericConfig.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENCY
public static final NumericConfig.Type CURRENCY
-
FIXED
public static final NumericConfig.Type FIXED
-
STANDARD
public static final NumericConfig.Type STANDARD
-
PERCENT
public static final NumericConfig.Type PERCENT
-
SCIENTIFIC
public static final NumericConfig.Type SCIENTIFIC
-
EURO
public static final NumericConfig.Type EURO
-
-
Method Detail
-
values
public static NumericConfig.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NumericConfig.Type c : NumericConfig.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumericConfig.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-