Package org.aoju.bus.core.convert
Class CollectionConverter
java.lang.Object
org.aoju.bus.core.convert.CollectionConverter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<?> 转换为指定类型 如果类型无法确定,将读取默认值的类型做为目标类型Collection<?> 转换
-
Field Details
-
INSTANCE
单例对象
-
-
Constructor Details
-
CollectionConverter
public CollectionConverter()
-
-
Method Details
-
convert
-
convert
转换- Parameters:
collectionType- 集合类型elementType- 集合中元素类型value- 被转换的值- Returns:
- 转换后的集合对象
-