public enum OperatorType extends Enum<OperatorType>
| 枚举常量和说明 |
|---|
ADD
加
|
BIT_AND
位与
|
BIT_OR
位或
|
BIT_XOR
位异或
|
CMP
比较
|
DIV
除
|
MUL
乘
|
NEG
取反
|
REM
求模
|
SHL
循环左移
|
SHR
循环右移
|
SUB
减
|
USHR
无符号循环右移
|
public static final OperatorType BIT_OR
public static final OperatorType BIT_AND
public static final OperatorType BIT_XOR
public static final OperatorType SHL
public static final OperatorType SHR
public static final OperatorType USHR
public static final OperatorType MUL
public static final OperatorType DIV
public static final OperatorType REM
public static final OperatorType ADD
public static final OperatorType SUB
public static final OperatorType NEG
public static final OperatorType CMP
public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getSymbol()
Copyright © 2020. All rights reserved.