mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-04 20:58:00 +08:00
fix comment
This commit is contained in:
parent
d0fe78ae66
commit
a4bc10801c
@ -1271,8 +1271,8 @@ public class CollUtil {
|
||||
* @param editor 编辑器
|
||||
* @param ignoreNull 是否忽略空值
|
||||
* @return 抽取后的新列表
|
||||
* @since 4.5.7
|
||||
* @see #map(Iterable, Function, boolean)
|
||||
* @since 4.5.7
|
||||
*/
|
||||
public static List<Object> extract(Iterable<?> collection, Editor<Object> editor, boolean ignoreNull) {
|
||||
return map(collection, editor::edit, ignoreNull);
|
||||
@ -1282,6 +1282,8 @@ public class CollUtil {
|
||||
* 通过func自定义一个规则,此规则将原集合中的元素转换成新的元素,生成新的列表返回<br>
|
||||
* 例如提供的是一个Bean列表,通过Function接口实现获取某个字段值,返回这个字段值组成的新列表
|
||||
*
|
||||
* @param <T> 集合元素类型
|
||||
* @param <R> 返回集合元素类型
|
||||
* @param collection 原集合
|
||||
* @param func 编辑函数
|
||||
* @param ignoreNull 是否忽略空值
|
||||
|
Loading…
Reference in New Issue
Block a user