Package org.openrewrite.java.tree
Enum Class J.AssignmentOperation.Type
- All Implemented Interfaces:
Serializable,Comparable<J.AssignmentOperation.Type>,Constable
- Enclosing class:
- J.AssignmentOperation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRaises the left operand to the power of the right operand.Division of the left operand by the right operand, rounding down to the nearest integer.Matrix multiplication of the left operand by the right operand. -
Method Summary
Modifier and TypeMethodDescriptionstatic J.AssignmentOperation.TypeReturns the enum constant of this class with the specified name.static J.AssignmentOperation.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Addition
-
BitAnd
-
BitOr
-
BitXor
-
Division
-
Exponentiation
Raises the left operand to the power of the right operand. Unused in Java, used in Python -
FloorDivision
Division of the left operand by the right operand, rounding down to the nearest integer. Unused in Java, used in Python. -
LeftShift
-
MatrixMultiplication
Matrix multiplication of the left operand by the right operand. Unused in Java, used in Python -
Modulo
-
Multiplication
-
RightShift
-
Subtraction
-
UnsignedRightShift
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-