Package uk.ac.starlink.ttools.calc
Enum SchlegelCalculator.Statistic
- java.lang.Object
-
- java.lang.Enum<SchlegelCalculator.Statistic>
-
- uk.ac.starlink.ttools.calc.SchlegelCalculator.Statistic
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SchlegelCalculator.Statistic>
- Enclosing class:
- SchlegelCalculator
public static enum SchlegelCalculator.Statistic extends java.lang.Enum<SchlegelCalculator.Statistic>
Enumerates statistics available from the IPAC dust service.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchlegelCalculator.Statistic
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SchlegelCalculator.Statistic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEAN
public static final SchlegelCalculator.Statistic MEAN
Mean value.
-
REF_PIXEL
public static final SchlegelCalculator.Statistic REF_PIXEL
Value at reference pixel.
-
STD
public static final SchlegelCalculator.Statistic STD
Standard deviation.
-
MAX
public static final SchlegelCalculator.Statistic MAX
Maximum value.
-
MIN
public static final SchlegelCalculator.Statistic MIN
Minimum value.
-
-
Method Detail
-
values
public static SchlegelCalculator.Statistic[] 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.Statistic c : SchlegelCalculator.Statistic.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.Statistic 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
-
-