Package ubic.gemma.core.ontology
Enum GoMetric.Metric
- java.lang.Object
-
- java.lang.Enum<GoMetric.Metric>
-
- ubic.gemma.core.ontology.GoMetric.Metric
-
- All Implemented Interfaces:
Serializable
,Comparable<GoMetric.Metric>
- Enclosing interface:
- GoMetric
public static enum GoMetric.Metric extends Enum<GoMetric.Metric>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GoMetric.Metric
valueOf(String name)
Returns the enum constant of this type with the specified name.static GoMetric.Metric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
jiang
public static final GoMetric.Metric jiang
-
lin
public static final GoMetric.Metric lin
-
resnik
public static final GoMetric.Metric resnik
-
simple
public static final GoMetric.Metric simple
-
percent
public static final GoMetric.Metric percent
-
kappa
public static final GoMetric.Metric kappa
-
cosine
public static final GoMetric.Metric cosine
-
-
Method Detail
-
values
public static GoMetric.Metric[] 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 (GoMetric.Metric c : GoMetric.Metric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoMetric.Metric valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-