Package adams.flow.transformer
Enum SpectrumInfo.InfoType
- java.lang.Object
-
- java.lang.Enum<SpectrumInfo.InfoType>
-
- adams.flow.transformer.SpectrumInfo.InfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<SpectrumInfo.InfoType>
- Enclosing class:
- SpectrumInfo
public static enum SpectrumInfo.InfoType extends Enum<SpectrumInfo.InfoType>
The type of information to generate.- Version:
- $Revision: 2242 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DB_ID
the database ID.ID
the spectrum ID.MAX_AMPLITUDE
the largets amplitude.MAX_WAVE
the largets wave number.MIN_AMPLITUDE
the smallest amplitude.MIN_WAVE
the smallest wave number.NUM_WAVES
the number of waves.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpectrumInfo.InfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpectrumInfo.InfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final SpectrumInfo.InfoType ID
the spectrum ID.
-
DB_ID
public static final SpectrumInfo.InfoType DB_ID
the database ID.
-
NUM_WAVES
public static final SpectrumInfo.InfoType NUM_WAVES
the number of waves.
-
MIN_WAVE
public static final SpectrumInfo.InfoType MIN_WAVE
the smallest wave number.
-
MAX_WAVE
public static final SpectrumInfo.InfoType MAX_WAVE
the largets wave number.
-
MIN_AMPLITUDE
public static final SpectrumInfo.InfoType MIN_AMPLITUDE
the smallest amplitude.
-
MAX_AMPLITUDE
public static final SpectrumInfo.InfoType MAX_AMPLITUDE
the largets amplitude.
-
-
Method Detail
-
values
public static SpectrumInfo.InfoType[] 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 (SpectrumInfo.InfoType c : SpectrumInfo.InfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpectrumInfo.InfoType 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
-
-