Package io.github.t12y.ssim.models
Enum Options.RGB2Gray
- java.lang.Object
-
- java.lang.Enum<Options.RGB2Gray>
-
- io.github.t12y.ssim.models.Options.RGB2Gray
-
- All Implemented Interfaces:
Serializable,Comparable<Options.RGB2Gray>
- Enclosing class:
- Options
public static enum Options.RGB2Gray extends Enum<Options.RGB2Gray>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Options.RGB2GrayvalueOf(String name)Returns the enum constant of this type with the specified name.static Options.RGB2Gray[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGINAL
public static final Options.RGB2Gray ORIGINAL
-
INTEGER
public static final Options.RGB2Gray INTEGER
-
-
Method Detail
-
values
public static Options.RGB2Gray[] 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 (Options.RGB2Gray c : Options.RGB2Gray.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Options.RGB2Gray 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
-
-