public class Result<T> extends Base implements EmptyBase
| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
ERROR() |
Code |
getCode() |
T |
getData() |
boolean |
isEmpty() |
static Result |
of(Code code) |
static <T> Result<T> |
of(Code code,
T data) |
static <T> Result<T> |
of(T data) |
void |
setCode(Code code) |
void |
setData(T data) |
static Result |
SUCCESS() |
Copyright © 2022. All rights reserved.