程序包 com.sh.util
类 ListUtil
java.lang.Object
com.sh.common.util.SHUtils
com.sh.util.ListUtil
Description: 列表工具类
Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
-
字段概要
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ListcopyNewArrayList(List list) 生成新的集合对象static ListcopyNewLinkedList(List list) 生成新的集合对象static MapcopyNewLinkedMap(Map map) 生成新的map对象static SetcopyNewLinkedSet(Set set) 生成新的Set对象static ListcopyNewList(List list) 生成新的集合对象static MapcopyNewMap(Map map) 生成新的map对象static SetcopyNewSet(Set set) 生成新的Set对象static MapcopyNewTreeMap(Map map) 生成新的map对象static SetcopyNewTreeSet(Set set) 生成新的Set对象static Object[]将List转化为数组static char[]toCharArray(List<Character> list) 将list转化为char数组static List通过数组构造Liststatic List通过数组构造Liststatic String[]toStringArray(List<String> list) 转化为字符串数组toStringList(String[] array) 从类继承的方法 com.sh.common.util.SHUtils
getDeptAllUser, getRequest, getResponse, getRoleDeptUser, isAjaxQuery, isAjaxQuery, isContain
-
构造器详细资料
-
ListUtil
public ListUtil()
-
-
方法详细资料
-
copyNewList
生成新的集合对象- 参数:
list- List- 返回:
- List
-
copyNewArrayList
生成新的集合对象- 参数:
list- List- 返回:
- List
-
copyNewLinkedList
生成新的集合对象- 参数:
list- List- 返回:
- List
-
copyNewMap
生成新的map对象- 参数:
map- Map- 返回:
- Map
-
copyNewTreeMap
生成新的map对象- 参数:
map- Map- 返回:
- Map
-
copyNewLinkedMap
生成新的map对象- 参数:
map- Map- 返回:
- Map
-
copyNewSet
生成新的Set对象- 参数:
set- Set- 返回:
- Set
-
copyNewLinkedSet
生成新的Set对象- 参数:
set- Set- 返回:
- Set
-
copyNewTreeSet
生成新的Set对象- 参数:
set- Set- 返回:
- Set
-
toList
通过数组构造List- 参数:
array- String[]- 返回:
- List
-
toStringList
-
toList1
通过数组构造List- 参数:
array- String[]- 返回:
- List
-
toStringArray
转化为字符串数组- 参数:
list- List- 返回:
- String[]
-
toArray
将List转化为数组- 参数:
list- List- 返回:
- Object[]
-
toCharArray
将list转化为char数组- 参数:
list- List- 返回:
- char[]
-