Package gaia.cu9.tools.parallax
Enum DistanceEstimator.EstimationType
- java.lang.Object
-
- java.lang.Enum<DistanceEstimator.EstimationType>
-
- gaia.cu9.tools.parallax.DistanceEstimator.EstimationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DistanceEstimator.EstimationType>
- Enclosing class:
- DistanceEstimator
public static enum DistanceEstimator.EstimationType extends java.lang.Enum<DistanceEstimator.EstimationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXP_DEC_VOL_DENSITY
HS_EXP_DECR
HS_UNIFORM
LOS_EXP_DEC_VOL_DENSITY
UNIFORM_DISTANCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DistanceEstimator.EstimationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DistanceEstimator.EstimationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HS_UNIFORM
public static final DistanceEstimator.EstimationType HS_UNIFORM
-
HS_EXP_DECR
public static final DistanceEstimator.EstimationType HS_EXP_DECR
-
UNIFORM_DISTANCE
public static final DistanceEstimator.EstimationType UNIFORM_DISTANCE
-
EXP_DEC_VOL_DENSITY
public static final DistanceEstimator.EstimationType EXP_DEC_VOL_DENSITY
-
LOS_EXP_DEC_VOL_DENSITY
public static final DistanceEstimator.EstimationType LOS_EXP_DEC_VOL_DENSITY
-
-
Method Detail
-
values
public static DistanceEstimator.EstimationType[] 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 (DistanceEstimator.EstimationType c : DistanceEstimator.EstimationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DistanceEstimator.EstimationType 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
-
-