数组:
String[] stringArray = { "a", "b", "c", "d", "e" };
ArrayList<String> arrayList = new ArrayList<String>(Arrays.asList(stringArray));
Set<String> set = new HashSet<String>(Arrays.asList(stringArray));
System.arraycopy(nums2 ,0 ,nums1 , 0 , p2 +1);
Arrays.copyOfRange(res,0,index);
字符串不为空校验
/**
* 字符串是否为空校验
*/
public static boolean verifyString(String str) {
return StringUtils.isNotBlank(str) && !"null".equals(str);
}