T
- type of return valuepublic static class VMSLibrary.Result<T>
extends java.lang.Object
Constructor and Description |
---|
Result(int status,
T result)
Construct new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
getResult()
Get result value.
|
int |
getStatus()
Get return status code.
|
public Result(int status, T result)
status
- return status coderesult
- return valuepublic int getStatus()
public T getResult()