Package org.xcsp.common
Enum Types.TypeCombination
- java.lang.Object
-
- java.lang.Enum<Types.TypeCombination>
-
- org.xcsp.common.Types.TypeCombination
-
- All Implemented Interfaces:
Serializable
,Comparable<Types.TypeCombination>
- Enclosing class:
- Types
public static enum Types.TypeCombination extends Enum<Types.TypeCombination>
The enum type specifying the different types of combination of objectives.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Types.TypeCombination
valueOf(String name)
Returns the enum constant of this type with the specified name.static Types.TypeCombination[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEXICO
public static final Types.TypeCombination LEXICO
-
PARETO
public static final Types.TypeCombination PARETO
-
-
Method Detail
-
values
public static Types.TypeCombination[] 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 (Types.TypeCombination c : Types.TypeCombination.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Types.TypeCombination 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
-
-