Package adams.data.conversion
Enum SpectrumToArray.DataType
- java.lang.Object
-
- java.lang.Enum<SpectrumToArray.DataType>
-
- adams.data.conversion.SpectrumToArray.DataType
-
- All Implemented Interfaces:
Serializable
,Comparable<SpectrumToArray.DataType>
- Enclosing class:
- SpectrumToArray
public static enum SpectrumToArray.DataType extends Enum<SpectrumToArray.DataType>
The type of data to output.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMPLITUDE
WAVENUMBER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpectrumToArray.DataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpectrumToArray.DataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAVENUMBER
public static final SpectrumToArray.DataType WAVENUMBER
-
AMPLITUDE
public static final SpectrumToArray.DataType AMPLITUDE
-
-
Method Detail
-
values
public static SpectrumToArray.DataType[] 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 (SpectrumToArray.DataType c : SpectrumToArray.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpectrumToArray.DataType 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
-
-