isNotEmpty(str)等价于 str != null && str.length > 0 isNotBlank(str) 等价于 str != null && str.length > 0 && str.trim().length > 0 转载于:https://www.cnblogs.com/youxiu326/p/10540763.html