public enum ASTArithmeticalOperator extends Enum<ASTArithmeticalOperator>
| Enum Constant and Description |
|---|
Addition |
Division |
Modulo |
Multiplication |
Power |
Subtraction |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
String |
getTypecommon() |
String |
toString() |
static ASTArithmeticalOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ASTArithmeticalOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ASTArithmeticalOperator Addition
public static final ASTArithmeticalOperator Subtraction
public static final ASTArithmeticalOperator Division
public static final ASTArithmeticalOperator Multiplication
public static final ASTArithmeticalOperator Modulo
public static final ASTArithmeticalOperator Power
public static ASTArithmeticalOperator[] values()
for (ASTArithmeticalOperator c : ASTArithmeticalOperator.values()) System.out.println(c);
public static ASTArithmeticalOperator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ASTArithmeticalOperator>public String getType()
public String getTypecommon()
Copyright © 2020. All rights reserved.