mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
添加flatObj方法
This commit is contained in:
parent
ebbf0a452e
commit
167dcf5d1c
@ -2369,8 +2369,7 @@ public class CollUtil {
|
||||
|
||||
/**
|
||||
* 结构多层集合
|
||||
* 例如:List<List<List<String>>> 解构成 List<String>
|
||||
* <p>
|
||||
* 例如:List<List<List<String>>> 解构成 List<String>
|
||||
* skipNull如果为true, 则解构后的集合里不包含null值,为false则会包含null值。
|
||||
*
|
||||
* @param collection 需要结构的集合
|
||||
|
@ -488,8 +488,8 @@ public interface TransformableWrappedStream<T, S extends TransformableWrappedStr
|
||||
}
|
||||
|
||||
/**
|
||||
* 如果当前元素是集合,则会解构当前集合
|
||||
*
|
||||
* 如果当前元素是集合,则会将集合中的元素解构出来
|
||||
* 例如:List<List<List<String>>> 解构成 List<String>
|
||||
* @param clazz 解构后元素的类型
|
||||
* @param <R> 函数执行后返回的类型
|
||||
* @return EasyStream 一个流
|
||||
|
Loading…
x
Reference in New Issue
Block a user