public enum ControlTransferType extends Enum<ControlTransferType>
| 枚举常量和说明 |
|---|
GOTO
无条件跳转
|
IFEQ
等于0时跳转
|
IFGE
大于等于0时跳转
|
IFGT
大于0时跳转
|
IFLE
小于等于0时跳转
|
IFLT
小于0时跳转
|
IFNE
不等于0时跳转
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ControlTransfer |
getControlTransferByType(ControlTransferType type) |
static ControlTransfer |
getOppositeControlTransferByType(ControlTransferType type) |
ControlTransferType |
getOppositeType() |
static ControlTransferType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ControlTransferType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ControlTransferType IFEQ
public static final ControlTransferType IFNE
public static final ControlTransferType IFGE
public static final ControlTransferType IFGT
public static final ControlTransferType IFLE
public static final ControlTransferType IFLT
public static final ControlTransferType GOTO
public static ControlTransferType[] values()
for (ControlTransferType c : ControlTransferType.values()) System.out.println(c);
public static ControlTransferType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static ControlTransfer getControlTransferByType(ControlTransferType type)
public static ControlTransfer getOppositeControlTransferByType(ControlTransferType type)
public ControlTransferType getOppositeType()
Copyright © 2020. All rights reserved.