| 程序包 | 说明 |
|---|---|
| xyz.shodown.common.enums | |
| xyz.shodown.common.response |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResponseEnum |
ResponseEnum.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ResponseEnum[] |
ResponseEnum.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Result<?> |
Result.fail(ResponseEnum respEnum)
失败,枚举内容返回
|
Copyright © 2022. All rights reserved.