S - 源数据T - 目标数据public interface PageConverter<S,T>
分页数据转换器
将分页对象里的源数据转换成目标数据| Modifier and Type | Method and Description |
|---|---|
T |
convert(S s)
将源数据转换成目标数据
|
T convert(S s) throws CustomException
s - 源数据CustomException - 数据转换时发生异常Copyright © 2021. All rights reserved.