public enum ParameterType extends Enum<ParameterType>
Enum Constant and Description |
---|
FERTILITY |
JUMP_OFF |
MIGRATION |
MORTALITY |
PROP_INF_DEATHS_FIRST_6M |
PROP_MALE_LIVE_BIRTHS |
SURV_PROB_OPEN_END |
Modifier and Type | Field and Description |
---|---|
static String |
LABEL_DELIM |
static String |
LABEL_FEMALES |
static String |
LABEL_FERTILITY |
static String |
LABEL_JUMP_OFF_POPULATION |
static String |
LABEL_MALES |
static String |
LABEL_PROPORTION_MALE_LIVE_BIRTHS |
static String |
LABEL_PROPORTION_OF_INFANT_DEATHS_FIRST_6_MONTHS |
static String |
LABEL_SURVIVAL_PROBABILITY_OF_OPEN_END_AGE_CLASS |
static String |
LABEL_SURVIVORS_AGE_X |
static String |
SURVIVORS_AGE_X
The survivors at age x.
|
Modifier and Type | Method and Description |
---|---|
String |
getFemaleLabelFor(SubPopulation subPopulation) |
String |
getLabelFor(SubPopulation subPopulation) |
String |
getMaleLabelFor(SubPopulation subPopulation) |
static ParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType JUMP_OFF
public static final ParameterType MIGRATION
public static final ParameterType FERTILITY
public static final ParameterType MORTALITY
public static final ParameterType PROP_MALE_LIVE_BIRTHS
public static final ParameterType PROP_INF_DEATHS_FIRST_6M
public static final ParameterType SURV_PROB_OPEN_END
public static final String LABEL_DELIM
public static final String LABEL_JUMP_OFF_POPULATION
public static final String LABEL_FERTILITY
public static final String SURVIVORS_AGE_X
Parameter
instances.
TODO: Add an enumeration to define the type of a Parameter
.public static final String LABEL_SURVIVORS_AGE_X
public static final String LABEL_PROPORTION_MALE_LIVE_BIRTHS
public static final String LABEL_PROPORTION_OF_INFANT_DEATHS_FIRST_6_MONTHS
public static final String LABEL_SURVIVAL_PROBABILITY_OF_OPEN_END_AGE_CLASS
public static final String LABEL_MALES
public static final String LABEL_FEMALES
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getLabelFor(SubPopulation subPopulation)
public String getMaleLabelFor(SubPopulation subPopulation)
public String getFemaleLabelFor(SubPopulation subPopulation)
Copyright © 2013. All Rights Reserved.