Package adams.data.objectfilter
Enum MergedScoreCalculation
- java.lang.Object
-
- java.lang.Enum<MergedScoreCalculation>
-
- adams.data.objectfilter.MergedScoreCalculation
-
- All Implemented Interfaces:
Serializable
,Comparable<MergedScoreCalculation>
public enum MergedScoreCalculation extends Enum<MergedScoreCalculation>
How to calculate the merged score.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MergedScoreCalculation
valueOf(String name)
Returns the enum constant of this type with the specified name.static MergedScoreCalculation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIN
public static final MergedScoreCalculation MIN
-
MEAN
public static final MergedScoreCalculation MEAN
-
MEDIAN
public static final MergedScoreCalculation MEDIAN
-
MAX
public static final MergedScoreCalculation MAX
-
-
Method Detail
-
values
public static MergedScoreCalculation[] 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 (MergedScoreCalculation c : MergedScoreCalculation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MergedScoreCalculation 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
-
-