public class ColUtils extends Object
| Constructor and Description |
|---|
ColUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
ifNotEmpty(E col,
Consumer<? super E> action)
集合不为空,则执行后续操作
|
public static <E> void ifNotEmpty(E col,
Consumer<? super E> action)
E - 泛型col - 集合action - 消费规则Copyright © 2021. All rights reserved.