Package adams.core.discovery
Enum NumericValueType
- java.lang.Object
-
- java.lang.Enum<NumericValueType>
-
- adams.core.discovery.NumericValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<NumericValueType>
public enum NumericValueType extends Enum<NumericValueType>
Determines how numeric values get generated.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumericValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NumericValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RANGE
public static final NumericValueType RANGE
uses the predefined range.
-
LIST
public static final NumericValueType LIST
uses predefined list of values.
-
-
Method Detail
-
values
public static NumericValueType[] 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 (NumericValueType c : NumericValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumericValueType 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
-
-