isNotEmpty(str)等价于 str != null && str.length > 0 isNotBlank(str) 等价于 str != null && str.length > 0 && str.trim().length > 0 isEmpty 等价于 str == null || str.length == 0 isBlank 等价于 str == null || str.length == 0 || str.trim().length == 0
转载于:https://www.cnblogs.com/zhangjunlong/p/10277971.html