Commit 30b3ccf2 authored by yanzg's avatar yanzg

修改实体位置

parent 993e90ee
package com.yanzuoguang.util.helper;
import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* 字符串帮主类
......@@ -43,6 +45,16 @@ public class ArrayHelper {
}
/**
* 判断对象是否是数组或者List
*
* @param val
* @return
*/
public static int getSize(List val) {
return val != null ? val.size() : 0;
}
/**
* 判断对象是否是数组或者List
*
......
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