static <T> QueryResponseResult<T> |
StreamUtils.getEmpty() |
封装返回对象
|
static <T,V> QueryResponseResult<V> |
StreamUtils.getModifyPojoToVoToResponse(List<T> list,
Class<V> cls,
long total,
Function<V,V>... functions) |
将pojo类转换为vo
|
static <T,V> QueryResponseResult<V> |
StreamUtils.getPojoToVoToResponse(List<T> list,
Class<V> cls,
long total) |
将pojo类转换为vo
|
static <T> QueryResponseResult<T> |
StreamUtils.getSimpleResponse(List<T> list,
long total) |
封装返回对象
|
static <T> QueryResponseResult<T> |
StreamUtils.getSingleton(T t) |
封装返回对象
|
static <T,V> QueryResponseResult<V> |
StreamUtils.getSingleton(T t,
Class<V> cls) |
封装返回对象
|
static <T> QueryResponseResult<T> |
StreamUtils.getSingleton(T t,
ResultCode resultCode) |
封装返回对象
|
static <T,V> QueryResponseResult<V> |
StreamUtils.modifyConvert(List<T> list,
Class<V> cls,
long total,
Function<T,V> function) |
Modify convert query response result.
|