Package uk.ac.starlink.ttools.calc
Enum SchlegelCalculator.ResultType
- java.lang.Object
-
- java.lang.Enum<SchlegelCalculator.ResultType>
-
- uk.ac.starlink.ttools.calc.SchlegelCalculator.ResultType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SchlegelCalculator.ResultType>
- Enclosing class:
- SchlegelCalculator
public static enum SchlegelCalculator.ResultType extends java.lang.Enum<SchlegelCalculator.ResultType>
Enumerates physical values available from the IPAC dust service.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMISSION
100 micron emission.REDDENING
E(B-V) reddening.TEMPERATURE
Dust temperature.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchlegelCalculator.ResultType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SchlegelCalculator.ResultType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REDDENING
public static final SchlegelCalculator.ResultType REDDENING
E(B-V) reddening.
-
EMISSION
public static final SchlegelCalculator.ResultType EMISSION
100 micron emission.
-
TEMPERATURE
public static final SchlegelCalculator.ResultType TEMPERATURE
Dust temperature.
-
-
Method Detail
-
values
public static SchlegelCalculator.ResultType[] 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 (SchlegelCalculator.ResultType c : SchlegelCalculator.ResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchlegelCalculator.ResultType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-