StrUtil添加isAllNotEmpty✒️

This commit is contained in:
大火yzs 2020-05-29 13:17:17 +08:00
parent 6e661613f5
commit 1b4276c211

View File

@ -342,6 +342,17 @@ public class StrUtil {
return true;
}
/**
* 是否存都不为{@code null}或空对象通过{@link StrUtil#hasEmpty(CharSequence...)} 判断元素
*
* @param args 被检查的对象,一个或者多个
* @return 是否都不为空
* @since 5.3.5
*/
public static boolean isAllNotEmpty(CharSequence... args) {
return false == hasEmpty(args);
}
/**
* 检查字符串是否为nullnullundefined
*