Package com.powsybl.openloadflow.ac.nr
Enum StateVectorScalingMode
- java.lang.Object
-
- java.lang.Enum<StateVectorScalingMode>
-
- com.powsybl.openloadflow.ac.nr.StateVectorScalingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<StateVectorScalingMode>
public enum StateVectorScalingMode extends Enum<StateVectorScalingMode>
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINE_SEARCH
MAX_VOLTAGE_CHANGE
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateVectorScalingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static StateVectorScalingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final StateVectorScalingMode NONE
-
LINE_SEARCH
public static final StateVectorScalingMode LINE_SEARCH
-
MAX_VOLTAGE_CHANGE
public static final StateVectorScalingMode MAX_VOLTAGE_CHANGE
-
-
Method Detail
-
values
public static StateVectorScalingMode[] 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 (StateVectorScalingMode c : StateVectorScalingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateVectorScalingMode 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
-
-