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