Package com.powsybl.timeseries.ast
Enum BinaryOperation.Operator
- java.lang.Object
-
- java.lang.Enum<BinaryOperation.Operator>
-
- com.powsybl.timeseries.ast.BinaryOperation.Operator
-
- All Implemented Interfaces:
Serializable
,Comparable<BinaryOperation.Operator>
- Enclosing class:
- BinaryOperation
public static enum BinaryOperation.Operator extends Enum<BinaryOperation.Operator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIVIDE
EQUALS
GREATER_THAN
GREATER_THAN_OR_EQUALS_TO
LESS_THAN
LESS_THAN_OR_EQUALS_TO
MINUS
MULTIPLY
NOT_EQUALS
PLUS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static BinaryOperation.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static BinaryOperation.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUS
public static final BinaryOperation.Operator PLUS
-
MINUS
public static final BinaryOperation.Operator MINUS
-
MULTIPLY
public static final BinaryOperation.Operator MULTIPLY
-
DIVIDE
public static final BinaryOperation.Operator DIVIDE
-
LESS_THAN
public static final BinaryOperation.Operator LESS_THAN
-
LESS_THAN_OR_EQUALS_TO
public static final BinaryOperation.Operator LESS_THAN_OR_EQUALS_TO
-
GREATER_THAN
public static final BinaryOperation.Operator GREATER_THAN
-
GREATER_THAN_OR_EQUALS_TO
public static final BinaryOperation.Operator GREATER_THAN_OR_EQUALS_TO
-
EQUALS
public static final BinaryOperation.Operator EQUALS
-
NOT_EQUALS
public static final BinaryOperation.Operator NOT_EQUALS
-
-
Method Detail
-
values
public static BinaryOperation.Operator[] 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 (BinaryOperation.Operator c : BinaryOperation.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryOperation.Operator 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<BinaryOperation.Operator>
-
-