Commit 67b01f41 authored by yanzg's avatar yanzg

接口文档的支持

parent bf25f113
...@@ -157,6 +157,16 @@ public class StringHelper { ...@@ -157,6 +157,16 @@ public class StringHelper {
return getFirstRun(0, 0, froms); return getFirstRun(0, 0, froms);
} }
/**
* 传入很多整形,获取第一个非0的值,至少需要两个参数
*
* @param froms 参数列表
* @return 第一个非0值
*/
public static Long getFirst(Long... froms) {
return getFirstRun(0L, 0L, froms);
}
/** /**
* 传入很多整形,获取第一个非0的值,至少需要两个参数 * 传入很多整形,获取第一个非0的值,至少需要两个参数
* *
......
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