public enum CoreHunterMeasure extends Enum<CoreHunterMeasure>
Enum Constant and Description |
---|
CAVALLI_SFORZA_EDWARDS |
GOWERS |
MODIFIED_ROGERS |
PRECOMPUTED_DISTANCE |
Modifier and Type | Method and Description |
---|---|
static CoreHunterMeasure |
createFromAbbreviation(String abbr)
Get Core Hunter measure from its abbreviation.
|
String |
getAbbreviation()
Gets the two letter abbreviation of the measure
|
String |
getName()
Gets the name of the measure
|
static CoreHunterMeasure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreHunterMeasure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreHunterMeasure PRECOMPUTED_DISTANCE
public static final CoreHunterMeasure GOWERS
public static final CoreHunterMeasure MODIFIED_ROGERS
public static final CoreHunterMeasure CAVALLI_SFORZA_EDWARDS
public static CoreHunterMeasure[] values()
for (CoreHunterMeasure c : CoreHunterMeasure.values()) System.out.println(c);
public static CoreHunterMeasure 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 final String getName()
public final String getAbbreviation()
public static CoreHunterMeasure createFromAbbreviation(String abbr)
abbr
- measure abbreviationnull
if there is no measure with the given abbreviationCopyright © 2017. All rights reserved.