Package adams.flow.transformer
Enum SetSpectrumAmplitude.UpdateType
- java.lang.Object
-
- java.lang.Enum<SetSpectrumAmplitude.UpdateType>
-
- adams.flow.transformer.SetSpectrumAmplitude.UpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<SetSpectrumAmplitude.UpdateType>
- Enclosing class:
- SetSpectrumAmplitude
public static enum SetSpectrumAmplitude.UpdateType extends Enum<SetSpectrumAmplitude.UpdateType>
Defines how to set the amplitude.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDEX
INSERT
WAVE_NUMBER
WAVE_NUMBER_CLOSEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SetSpectrumAmplitude.UpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SetSpectrumAmplitude.UpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEX
public static final SetSpectrumAmplitude.UpdateType INDEX
-
WAVE_NUMBER
public static final SetSpectrumAmplitude.UpdateType WAVE_NUMBER
-
WAVE_NUMBER_CLOSEST
public static final SetSpectrumAmplitude.UpdateType WAVE_NUMBER_CLOSEST
-
INSERT
public static final SetSpectrumAmplitude.UpdateType INSERT
-
-
Method Detail
-
values
public static SetSpectrumAmplitude.UpdateType[] 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 (SetSpectrumAmplitude.UpdateType c : SetSpectrumAmplitude.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SetSpectrumAmplitude.UpdateType 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
-
-