public static enum EoResp.Stat extends Enum<EoResp.Stat> implements IMarkIx
| Enum Constant and Description |
|---|
FAIL
操作失败
|
FUTURE
等待接下来的操作
|
OK
操作成功
|
UNKNOWN
未知状态
|
| Modifier and Type | Method and Description |
|---|---|
int |
ix() |
static EoResp.Stat |
of(int ix) |
static EoResp.Stat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EoResp.Stat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EoResp.Stat UNKNOWN
public static final EoResp.Stat OK
public static final EoResp.Stat FAIL
public static final EoResp.Stat FUTURE
public static EoResp.Stat[] values()
for (EoResp.Stat c : EoResp.Stat.values()) System.out.println(c);
public static EoResp.Stat 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 static EoResp.Stat of(int ix)
Copyright © 2019. All rights reserved.