Enum ParameterLimitsTransform.LimitType
- java.lang.Object
-
- java.lang.Enum<ParameterLimitsTransform.LimitType>
-
- com.opengamma.strata.math.impl.minimization.ParameterLimitsTransform.LimitType
-
- All Implemented Interfaces:
Serializable
,Comparable<ParameterLimitsTransform.LimitType>
- Enclosing interface:
- ParameterLimitsTransform
public static enum ParameterLimitsTransform.LimitType extends Enum<ParameterLimitsTransform.LimitType>
Types of the limits.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GREATER_THAN
Greater than limit.LESS_THAN
Less than limit.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParameterLimitsTransform.LimitType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParameterLimitsTransform.LimitType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREATER_THAN
public static final ParameterLimitsTransform.LimitType GREATER_THAN
Greater than limit.
-
LESS_THAN
public static final ParameterLimitsTransform.LimitType LESS_THAN
Less than limit.
-
-
Method Detail
-
values
public static ParameterLimitsTransform.LimitType[] 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 (ParameterLimitsTransform.LimitType c : ParameterLimitsTransform.LimitType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterLimitsTransform.LimitType 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
-
-