Commit ebb2efa4 authored by yanzg's avatar yanzg

接口文档的支持

parent fa6f1bc6
...@@ -24,7 +24,7 @@ public class DataDaoVo<T> { ...@@ -24,7 +24,7 @@ public class DataDaoVo<T> {
* @param nows * @param nows
* @param keyFunc * @param keyFunc
*/ */
public <T> DataDaoVo<T> init(List<T> hisitories, List<T> nows, DataDaoKey<T> keyFunc) { public static <T> DataDaoVo<T> init(List<T> hisitories, List<T> nows, DataDaoKey<T> keyFunc) {
Map<String, T> mapHistory = new HashMap<>((hisitories.size() + nows.size()) / 2); Map<String, T> mapHistory = new HashMap<>((hisitories.size() + nows.size()) / 2);
// 历史数据处理 // 历史数据处理
for (T his : hisitories) { for (T his : hisitories) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment