Enum NormalizationType
- All Implemented Interfaces:
Serializable,Comparable<NormalizationType>,java.lang.constant.Constable
Enum for the different normalization types supported.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the different options as command line description.static NormalizationTypegetNormalizationType(int index) Returns the normalization type corresponding to the given index.static NormalizationTypegetNormalizationType(String name) Returns the normalization type corresponding to the given name.static NormalizationTypeReturns the enum constant of this type with the specified name.static NormalizationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
none
-
median
-
mean
-
sum
-
mode
-
-
Field Details
-
index
public final int indexThe index of the normalization type. -
name
The name of the normalization type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNormalizationType
Returns the normalization type corresponding to the given index.- Parameters:
index- the index of the normalization type- Returns:
- the normalization type of interest.
-
getNormalizationType
Returns the normalization type corresponding to the given name.- Parameters:
name- the name of the normalization type- Returns:
- the normalization type of interest.
-
getCommandLineDescription
Returns the different options as command line description.- Returns:
- the different options as command line description
-