Package science.aist.imaging.api.domain
Enum AverageType
- java.lang.Object
-
- java.lang.Enum<AverageType>
-
- science.aist.imaging.api.domain.AverageType
-
- All Implemented Interfaces:
Serializable
,Comparable<AverageType>
public enum AverageType extends Enum<AverageType>
Different averaging types.
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AverageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AverageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEAN
public static final AverageType MEAN
-
MEDIAN
public static final AverageType MEDIAN
-
-
Method Detail
-
values
public static AverageType[] 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 (AverageType c : AverageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AverageType 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
-
-